[opencms-dev] 6.2.3: out of memory error when on-demand static export carried out

Fabian Huschka fabian.huschka at componio.net
Tue May 15 16:37:56 CEST 2007


Hello,

did you increase the heap by setting the VM option BEFORE starting
tomcat? (e.g. java -Xmx256m ...)?

Regards,


Fabian

Sami Nygard schrieb:
> Jon,
>
> Have you checked that the image file itself is not somehow corrupt?
> Did increasing VM memory do nothing?
>
> I've only encountered these two issues with image sizing... and the
> poor quality in larger images.
>
> /Sami
>
> On May 15, 2007 02:22 PM, Jonathan Woods wrote:
>
>     I'm using the 6.2.3 photo gallery module on a site, and OpenCms
>     consistently chucks out an Out of Memory error when I try to view
>     one of the images.  The Exception trace is this:
>      
>     15 May 2007 13:11:31,700  WARN [rg.opencms.main.OpenCmsServlet:
>     211] Error exporting
>     "org.opencms.staticexport.CmsStaticExportData[vfsName=/sites/default/_galleries/senior/artgallery1000/art_2.jpg,
>     rfsName=/sites/default/_galleries/senior/artgallery1000/art_2.jpg_985950056.jpg,
>     structureId=27eca0ac-02d9-11dc-8276-e7054fcb13ec]"
>     java.lang.OutOfMemoryError: Java heap space
>     which seems to show that it's the static export function causing
>     the problem, rather than the dynamic image sizing as I'd first
>     thought.  Other on demand static exporting, including of images in
>     the same photo album, works fine.  Has anyone else seen this?  The
>     file in question is about 700kB in size.
>      
>     Jon
>
>
> ------------------------------------------------------------------------
>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev


-- 
componio GmbH
Robert-Bosch-Straße 7
D - 64293  Darmstadt
Tel:	+49.6151.500.367.11
Office:	+49.6151.500.367.0
Fax:	+49.6151.500.367.6
Internet: http://www.componio.net
E-Mail:	componio at componio.net
HRB 9624 - Registergericht Amtsgericht Darmstadt 




More information about the opencms-dev mailing list