java sqlite out of memory异常

时间:2021-02-04 23:00:27

今天用sqlite写点东西eclips给我了这个东西

out of memory

java sqlite out of memory异常

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(Unknown Source)
    at java.sql.DriverManager.getConnection(Unknown Source)
    at com.loveoop.sqlite.Test.main(Test.java:19)

 

原因:目录结构中存在中文,

解决方案:把中文修改为英文~~~~。

Good luck!!