--- [EMAIL PROTECTED] wrote:
> We use a small sqlite database in our java (game) project for school.
> In Linux i've no problem of using version 033 Java,
> but on windows I get a out-of-memory error....
>
> java.sql.SQLException: out of memory
> at org.sqlite.DB.throwex(DB.java:252)
> at org.sqlite.NestedDB.open(NestedDB.java:47)
> at org.sqlite.Conn.<init>(Conn.java:36)
> at org.sqlite.JDBC.connect(JDBC.java:38)
> at java.sql.DriverManager.getConnection(DriverManager.java:582)
> at java.sql.DriverManager.getConnection(DriverManager.java:207)
> at database.DatabaseManager.lijstKrijgers(DatabaseManager.java:
> 275)
> at gui.schermen.LaadScherm.initGUI(LaadScherm.java:36)
> at gui.schermen.LaadScherm.<init>(LaadScherm.java:26)
> at gui.testen.TestLaadScherm.main(TestLaadScherm.java:12)
>
> Line 62: Connection conn =
> DriverManager.getConnection("jdbc:sqlite:"+database);
>
> Anyone has an idea?
Try using a relative path for the database file in the jdbc: connect
string instead of an absolute path.
____________________________________________________________________________________You
snooze, you lose. Get messages ASAP with AutoCheck
in the all-new Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/newmail_html.html
--~--~---------~--~----~------------~-------~--~----~
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.google.com/group/sqlitejdbc?hl=en
-~----------~----~----~----~------~----~------~--~---