views:

253

answers:

1

Hi, I got this err msg in NetBeans 6.8 :

Exception in thread "main" java.sql.SQLException: out of memory
        at org.sqlite.DB.throwex(DB.java:288)
        at org.sqlite.NativeDB._open(Native Method)
        at org.sqlite.DB.open(DB.java:77)
        at org.sqlite.Conn.<init>(Conn.java:88)
        at org.sqlite.JDBC.connect(JDBC.java:64)
        at java.sql.DriverManager.getConnection(DriverManager.java:582)
        at java.sql.DriverManager.getConnection(DriverManager.java:207)

I changed VM options but still showing the err!!

Can you help pls ?

+1  A: 

Without any code snippet it's hard to give a decent answer. After i googled this exception, it seems that many people faced this problem. Try to remove the drive name (if any) from the JDBC URL this may help.

stacker
+1 for looking; see also: http://forums.netbeans.org/post-61191.html
trashgod