我收到以下错误:
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space at SQLite.Vm.step(Native Method) at SQLite.Database.get_table(Database.java:314) at SQLite.JDBC2z.JDBCStatement.executeQuery(JDBCStatement.java:120) at SQLite.JDBC2z.JDBCStatement.executeQuery(JDBCStatement.java:168) at TestData.readData(TestData.java:21) at TestData.main(TestData.java:41)
以下是一些可用来更改堆大小的选项。
-Xms<size> set initial Java heap size -Xmx<size> set maximum Java heap size -Xss<size> set java thread stack size
java -Xmx256m TestData.java