[opencms-dev] Out of Memory when download or export file big large (150mb) in OpenCms

Deiverson Silveira deiverson at solutioncms.com
Tue Aug 4 23:40:30 CEST 2009

I am facing a problem in a project that is already in production.

I need to make uploading of files of 150 MB, PDF, was giving all the time
Out of Memory, but I used the following parameters and upload work (set
JAVA_OPTS=%JAVA_OPTS% -Xrs -Xms512m -Xmx1024m -XX:+UseParallelGC
-XX:ParallelGCThreads=20), but when the User tries to complete the download,
it gives error 500, and also when I try to export this file, via
administration, and the error occurs Out of Memory.

The parameters -XX:+UseParallelGC -XX:ParallelGCThreads=20 solved problem
for upload, but not solved download! =(

Is there any specific configuration to allow the opencms available for
download files that size?

I Use:
JBoss 4.2.1
Java 1.5_08
SQL Server 2005
OpenCms 7.0.5

Thank you for help!

Eu não preciso saber para onde vou, eu preciso saber apenas que Deus vai
junto SEMPRE...

É o que você faz para as pessoas que você diz amar que realmente importa...

Deixe Deus falar ao seu coração, ouça sua voz... Ele pode realizar na sua
vida mais do você pode imaginar...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20090804/7a5aa503/attachment.htm>

More information about the opencms-dev mailing list