Please, first try change memory sizes parameters and tell us the result. And if that doesn't work, I suggest you see what (NestedDB.java:73) do exactly at your exactly version of the library.
Looking at trunk in SVN ( http://www.xerial.org/trac/Xerial/browser/XerialJ/trunk/sqlite-jdbc/src/main/java/org/sqlite/NestedDB.java ) I guess your application crash at lines 74 or 77 of the _open method: 73 // open the db and retrieve sqlite3_db* pointer 74 int passback = rt.xmalloc(4); 75 int str = rt.strdup(filename); 76 if (call("sqlite3_open", str, passback) != SQLITE_OK) 77 throwex(); 2012/3/27 vincenzo iafelice <[email protected]> > I don't think that the problem is memory size because i get the exception > as soon as i run the program (trying a simple connection). > > Using JVM 64 bit, every kind of remote connection (localhost or remote) > fails. > > > > Il giorno 27 marzo 2012 18:55, Juan Carlos . <[email protected]> ha > scritto: > > Try to change memory sizes on JVM adding >> >> -Xms512m -Xmx512m >> >> to java. >> >> See >> http://javahowto.blogspot.com.es/2006/06/6-common-errors-in-setting-java-heap.html >> >> >> 2012/3/27 vincenzo iafelice <[email protected]> >> >>> Hi guys, >>> >>> i have a big problem with a remote connection (database file in shared >>> folder). >>> >>> The program works fine running on JDK 1.6 32 bit, but switching to JDK >>> 1.6 >>> 64 bit, i get this exception: >>> >>> java.sql.SQLException: out of memory >>> at org.sqlite.DB.throwex(DB.java:288) >>> at org.sqlite.NestedDB._open(NestedDB.java:73) >>> >>> >>> Please, anyone can help me? >>> >>> Thans a lot >>> vincenzo >>> _______________________________________________ >>> SQLiteJDBC mailing list >>> [email protected] >>> https://lists.hcoop.net/listinfo/sqlitejdbc >>> >> >> > _______________________________________________ SQLiteJDBC mailing list [email protected] https://lists.hcoop.net/listinfo/sqlitejdbc
