When it crashed, the command line for starting the server was: "%_JAVACMD%" -d64 -Xms6072M -Xmx6072M -XX:+AggressiveHeap -XX:MaxPermSize=1024M -XX:+CMSClassUnloadingEnabled %DERBY_OPTS% -classpath "%CLASSPATH%;%LOCALCLASSPATH%" org.apache.derby.drda.NetworkServerControl start %DERBY_CMD_LINE_ARGS%
Would there be a better place to set it? I can set to 8G and see what happpens. -Chris -----Original Message----- From: Bryan Pendleton [mailto:bpendleton.de...@gmail.com] Sent: 06 June 2014 12:22 To: Derby Discussion Subject: Re: Apache Derby - Locks up. > java.lang.OutOfMemoryError: Java heap space Have you experimented with giving more memory to your JVM? thanks, bryan