java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operations allowed after connection closed. at net.luaos.tb.remote.ServerConnection.loadSnippetFull(ServerConnection.java:381) at net.luaos.tb.remote.ServerConnection.loadImage(ServerConnection.java:442) at net.luaos.tb.tb32.RGBImageLuaAPI.addImgToSandbox(RGBImageLuaAPI.java:31) at net.luaos.tb.tb32.IRLuaScriptRunner.run_returnWithStats(IRLuaScriptRunner.java:26) at net.luaos.tb.tb32.IRPitcher.runScript(IRPitcher.java:151) at net.luaos.tb.tb32.IRPitcher.pitchPair(IRPitcher.java:135) at net.luaos.tb.tb32.IRPitcher.recalcs(IRPitcher.java:252) at net.luaos.tb.tb32.IRPitcher.main(IRPitcher.java:40) at irpitcher.main(irpitcher.java:8) Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operations allowed after connection closed. at sun.reflect.GeneratedConstructorAccessor92.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:422) at com.mysql.jdbc.Util.handleNewInstance(Util.java:411) at com.mysql.jdbc.Util.getInstance(Util.java:386) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1014) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:988) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:974) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:919) at com.mysql.jdbc.ConnectionImpl.throwConnectionClosedException(ConnectionImpl.java:1269) at com.mysql.jdbc.ConnectionImpl.checkClosed(ConnectionImpl.java:1261) at com.mysql.jdbc.ConnectionImpl.createStatement(ConnectionImpl.java:2578) at com.mysql.jdbc.ConnectionImpl.createStatement(ConnectionImpl.java:2560) at net.luaos.tb.tb11.MySqlUtil.loadSnippetFull(MySqlUtil.java:65) at net.luaos.tb.remote.ServerConnection.loadSnippetFull(ServerConnection.java:379) ... 8 more Caused by: java.lang.OutOfMemoryError: Java heap space