[daisy] PDF book publishing error - Java heap

Karel Vervaeke karel at outerthought.org
Sat May 10 14:59:16 CEST 2008


It depends on how you are running the Daisy wiki:
- Using the provided .bat files
- Using the provided wrapper scripts
- Other, e.g. Tomcat

For Tomcat, again it depends on how you start it.
I believe the most common way is to set the environment variable 
JAVA_OPTS to "-Xmx 512M" for 512M of heap space before running 
$TOMCAT_HOME/bin/catalina.sh start
If you are running tomcat as a windows service, I'm unsure.  Google is 
your friend :)

HTH,
Karel

ted.marquardt at thomsonreuters.com schreef:
> Hi,
>  
> I'm getting a Java heap error when ppublishing a big PDF book 
>
> java.lang.OutOfMemoryError: Java heap space
> note The full stack trace of the root cause is available in the Apache Tomcat/5.5.25 logs
>  
> Then I saw the text below in the Daisy user guide.
>  
> By default, the DaisyWiki and Daisy Repository Server are started with a maximum heap size of
> 128 MB each. To this you need to add some overhead of the JVMs themselves, and then some
> memory for MySQL, the OS and its (filesystem) caches. This doesn't mean all this memory will
> be used, that will depend on usage intensity. 
>  
> How do I increase the memory heap size that the JVMs use?
>
> Thanks,
>
> Ted
>
>
>
> _______________________________________________
> daisy community mailing list
> Professional Daisy support: http://outerthought.org/en/services/daisy/support.html
> mail to: daisy at lists.cocoondev.org
> list information: http://lists.cocoondev.org/mailman/listinfo/daisy
>   



More information about the daisy mailing list