[opencms-dev] upload big file problem

Arash Kaffamanesh arash.kaffamanesh at pomegranate.de
Thu Nov 24 11:59:31 CET 2005


Hi,
 
if you are starting tomcat as a service, you can set the initial memory
pool and maximum memory in the tomcat confoguration panel (java tab) on
windows (if you are usinf tomcat 5.5.x), unless you shall set the
CATALINA_OPTS=.-Xmx512 in catalina.bat or startup.bat and reinsall the
service, so that changes can take effect, I think for tomacat 4.1 there
was a service.bat file which could do this. You shall also set the
max_allowed_packet variable of your mysql (in my.ini) to 20 MB for
example. Now you should be able to upload big files up to 16 MB, for
uploading files > 16 MB visit this thread on our site:
 
http://www.pomegranate.de:9000/cms/forum/viewthread?thread=17
 
HTH,
Arash
 

-----Original Message-----
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of
Matt_Yim at Concord-Camera.com
Sent: Donnerstag, 24. November 2005 10:53
To: Pandey, Nitin; 'opencms-dev-bounces at opencms.org ';
'opencms-dev at opencms.org '
Subject: RE: [opencms-dev] upload big file problem



Hi, 

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
advised! 

Thanks and Regards,
Matt Yim




"Pandey, Nitin" <Nitin.Pandey at pstsi.com> 


2005/11/24 下午 04:47 


To
"'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> 

cc
"'opencms-dev at opencms.org '" <opencms-dev at opencms.org> 

Subject
RE: [opencms-dev] upload big file problem

	




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

Hope this helps,
nitin

U'll hav to open a new command prompt window for the changes to take
affect
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 
JVM: 1.5.0.02 
tomcat: 4.1 

Thanks your help!
Matt Yim


<<ATT46184.txt>> 
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: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20051124/7e1a77b4/attachment.htm>


More information about the opencms-dev mailing list