I get an exception when I try to recover a large database with the
RunScript tool:
Exception in thread "main" java.lang.NegativeArraySizeException
at org.h2.util.ScriptReader.readBuffer(ScriptReader.java:232)
at org.h2.util.ScriptReader.read(ScriptReader.java:219)
at org.h2.util.ScriptReader.readStatementLoop(ScriptReader.java:178)
at org.h2.util.ScriptReader.readStatement(ScriptReader.java:64)
at org.h2.tools.RunScript.process(RunScript.java:199)
at org.h2.tools.RunScript.process(RunScript.java:188)
at org.h2.tools.RunScript.process(RunScript.java:319)
at org.h2.tools.RunScript.runTool(RunScript.java:142)
at org.h2.tools.RunScript.main(RunScript.java:69)
The SQL script is 124GB and the error is thrown close to the end.
I am using H2 1.3.173 on Linux.
Uli
--
You received this message because you are subscribed to the Google Groups "H2
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/groups/opt_out.