[opencms-dev] Uploading JPG from Workplace

Fabian Huschka fabian.huschka at componio.net
Mon Feb 26 17:52:24 CET 2007


Hello,

you need to increase the heap space for the Java VM!
Try to add "-Xmx256m -Xms256m" as VM options (JAVA_OPTS or
CATALINA_OPTS). You may also want to play around with these values
(depends on your configuration and usage).

mx defines the maximum heap space
ms defines the maximum stack space

Hope that helps,

\Fabian

Raúl Lorenzo schrieb:
> Hello,
>
> I am trying to upload a 2Mbytes or 5Mbytes Jpeg file but I got in
> opencms.log this message
> /****************************************************/
> 26 feb 2007 17:10:34,153 ERROR [rg.opencms.workplace.CmsDialog:1179] El
> diálogo del workplace ha causado un error. java.lang.OutOfMemoryError:
> Java heap space
> /**********************************************************/
>
> I tested with a 200Kbytes and work, Any workaround or solution?
>
> Thanks
>
> _______________________________________________
> 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