Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=2887650 By: far2fish
Hi java.lang.OutOfMemoryError means that your JVM is running out of heap space, and is such not a dbforms related error, but a java in general error. I believe the java maximum heap size by default equals 64MB, you can increase this value by adding -Xmx<value>M on the command line, for example -Xmx128M gives your JVM a maximum heap size of 128MB of memory. The solution is to configure Tomcat to use a larger heap size. This can be done by editing [TOMCAT_DIR]/bin/catalina.bat (MS Windows) or catalina.sh (Unix systems). You can increase the heap size by adding a parameter to the environment variable JAVA_OPTS. The parameter to be added is '-Xmx128M' (where the number 128 indicates that 128 Megabytes should be used. Increase as required). For catalina.bat there now should be a line in your file that looks like this: set JAVA_OPTS=-Xmx128M For catalina.sh the line should look like this: JAVA_OPTS='-Xmx128M' Reference: http://jakarta.apache.org/tomcat/faq/memory.html best regards Audun ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=55830 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ DbForms Mailing List http://www.wap-force.net/dbforms
