[opencms-dev] upload big file problem

Matt_Yim at Concord-Camera.com Matt_Yim at Concord-Camera.com
Thu Nov 24 10:52:33 CET 2005


I have added the varibles on my server Windows 2003 but seems not work. 
Where can I check the Heap Size? And there is some document state that the 
Heap Size cannot be changed after JVM 1.4.2. Is it correct? Please 

Thanks and Regards,
Matt Yim

"Pandey, Nitin" <Nitin.Pandey at pstsi.com> 
2005/11/24 下午 04:47

"'Matt_Yim at Concord-Camera.com '" <Matt_Yim at Concord-Camera.com>, 
"'opencms-dev-bounces at opencms.org '" <opencms-dev-bounces at opencms.org>, 
"'opencms-dev at opencms.org '" <opencms-dev at opencms.org>
"'opencms-dev at opencms.org '" <opencms-dev at opencms.org>
RE: [opencms-dev] upload big file problem

I am using windows xp professional.U can set it in the enviroment 
Define a variable CATALINA_OPTS and give its value as -Xmx512m -Xms72m or
according to ur requirement.

Hope this helps,

U'll hav to open a new command prompt window for the changes to take 
when u restart tomcat
-----Original Message-----
From: opencms-dev-bounces at opencms.org
To: opencms-dev at opencms.org
Cc: opencms-dev at opencms.org; opencms-dev-bounces at opencms.org
Sent: 11/24/05 10:02 AM
Subject: [opencms-dev] upload big file problem

Hi all, 

I get a problem from uploading large file to my opencms system. There is
a message "Java Heap Space". I think the problem come from the memory
setting in JVM. I want to increase the Java Heap Momory Size in the
system by typing "java -Xms512m -Xmx512m" in the command prompt but
failed. Do anyone know the syntax? And what place i have to include this
command to permanently set the value? 

opencms version: 6.02 
tomcat: 4.1 

Thanks your help!
Matt Yim

DISCLAIMER: The information in this message is confidential and may be
legally privileged.It is intended solely for the addressee.Access to this
message by anyone else is unauthorised.If you are not the intended
recipient,any disclosure,copying,or distribution of the message,or any
action or omission taken by you in reliance on it,is prohibited and may be
unlawful.Please immediately contact the sender if you have received this
message in error.Thank you.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencms.org/pipermail/opencms-dev/attachments/20051124/78431098/attachment.html>

More information about the opencms-dev mailing list