Hello Joe,
I'm not sure what the "" means. Is it supposed to create and use an
In-memory, shared DB?
I tried it on a m/c with 1Gig RAM and 512m heap size and kept getting
this error:
Code:
Line 08: Class.forName("org.sqlite.JDBC");
Line 09: Connection conn =
DriverManager.getConnection("jdbc:sqlite:shared:");
java.sql.SQLException: out of memory
at org.sqlite.DB.throwex(DB.java:249)
at org.sqlite.NativeDB.open(Native Method)
at org.sqlite.Conn.<init>(Conn.java:36)
at org.sqlite.JDBC.connect(JDBC.java:38)
at java.sql.DriverManager.getConnection(DriverManager.java:512)
at java.sql.DriverManager.getConnection(DriverManager.java:193)
at h2.SQLLite.main(SQLLite.java:9)
Exception in thread "main"
Which means, the initial DB creation itself bombs. What am I doing
wrong?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"SQLiteJDBC" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups-beta.google.com/group/sqlitejdbc?hl=en
-~----------~----~----~----~------~----~------~--~---