[opencms-dev] out of memory error during 9.5.0 installation

Christoph Kukulies kuku at physik.rwth-aachen.de
Fri Nov 28 17:26:38 CET 2014


Got it solved: had to increase heapsize in /etc/defaults/tomcat7:

JAVA_OPTS="-Djava.awt.headless=true -Xmx1024m -XX:+UseConcMarkSweepGC"

changed -Xmx128m to -Xmx1024m

and it ran through.



Am 28.11.2014 um 16:25 schrieb Christoph Kukulies:
> Unter tomcat7, Ubuntu 14 server, I'm doing a (full, not update) 
> Opencms 9.5.0 installation and I'm seein this in the installation log:
>
> 44519:        at 
> org.opencms.util.CmsHtmlExtractor.extractText(CmsHtmlExtractor.java:114)
> 44518:        at 
> org.opencms.util.CmsHtmlExtractor.extractText(CmsHtmlExtractor.java:76)
> 44517:        at 
> org.htmlparser.beans.StringBean.<init>(StringBean.java:197)
> 44516:        at java.lang.StringBuffer.<init>(StringBuffer.java:108)
> 44515:        at 
> java.lang.AbstractStringBuilder.<init>(AbstractStringBuilder.java:64)
> 44514:    Exception in thread "OpenCms: Indexing 'index.html'" 
> java.lang.OutOfMemoryError: Java heap space
> 44513:    !!! Failed to index file 
> /sites/default/documentation/content-in-opencms/special-predefined-content-types/dynamic-functions/function-detail-pages/index.html 
> on search index "Offline project EN (VFS)".
> 44512:    ( 2099 ) Indexing file 
> /sites/default/documentation/content-in-opencms/special-predefined-content-types/dynamic-functions/function-detail-pages/index.html 
> ... !!! failed
> 44511:        at 
> org.opencms.search.CmsIndexingThread.run(CmsIndexingThread.java:117)
>
> Did I overlook some parameter recommendation for the install to work 
> properly?
>
>


-- 
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de



More information about the opencms-dev mailing list