Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
at com.mysql.jdbc.PreparedStatement.(PreparedStatement.java:437)
at com.mysql.jdbc.Connection.clientPrepareStatement(Connection.java:2187)
at com.mysql.jdbc.Connection.prepareStatement(Connection.java:4829)
at com.mysql.jdbc.Connection.prepareStatement(Connection.java:4734)
at tree.database.MySQLCor.insert(MySQLCor.java:263)
at tree.parse.FileParser.parse(FileParser.java:159)
at tree.parse.OneParser.parse(OneParser.java:54)
at tree.test.Main.main(Main.java:39)
OutOfMemoryError很常見的一種錯誤。JVM內存設置的小了。修改下啟動內存。參見http://www.cnblogs.com/yyyyy5101/articles/1898737.html