<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-2022-jp">
<TITLE>Message</TITLE>
<META content="MSHTML 6.00.2800.1400" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=745134810-24112005>Hi,</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=745134810-24112005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=745134810-24112005>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:</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=745134810-24112005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=745134810-24112005><A
href="http://www.pomegranate.de:9000/cms/forum/viewthread?thread=17">http://www.pomegranate.de:9000/cms/forum/viewthread?thread=17</A></SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=745134810-24112005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=745134810-24112005>HTH,</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=745134810-24112005>Arash</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=745134810-24112005></SPAN></FONT> </DIV>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT
face=Tahoma size=2>-----Original Message-----<BR><B>From:</B>
opencms-dev-bounces@opencms.org [mailto:opencms-dev-bounces@opencms.org] <B>On
Behalf Of </B>Matt_Yim@Concord-Camera.com<BR><B>Sent:</B> Donnerstag, 24.
November 2005 10:53<BR><B>To:</B> Pandey, Nitin;
'opencms-dev-bounces@opencms.org '; 'opencms-dev@opencms.org
'<BR><B>Subject:</B> RE: [opencms-dev] upload big file
problem<BR><BR></FONT></DIV><BR><FONT face=sans-serif size=2>Hi,</FONT>
<BR><BR><FONT face=sans-serif size=2>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!</FONT> <BR><FONT face=sans-serif size=2><BR>Thanks
and Regards,<BR>Matt Yim<BR></FONT><BR><BR><BR>
<TABLE width="100%">
<TBODY>
<TR vAlign=top>
<TD width="40%"><FONT face=sans-serif size=1><B>"Pandey, Nitin"
<Nitin.Pandey@pstsi.com></B> </FONT>
<P><FONT face=sans-serif size=1>2005/11/24 $B2<8a(J 04:47</FONT> </P>
<TD width="59%">
<TABLE width="100%">
<TBODY>
<TR vAlign=top>
<TD>
<DIV align=right><FONT face=sans-serif size=1>To</FONT></DIV>
<TD><FONT face=sans-serif size=1>"'Matt_Yim@Concord-Camera.com '"
<Matt_Yim@Concord-Camera.com>,
"'opencms-dev-bounces@opencms.org '"
<opencms-dev-bounces@opencms.org>, "'opencms-dev@opencms.org
'" <opencms-dev@opencms.org></FONT>
<TR vAlign=top>
<TD>
<DIV align=right><FONT face=sans-serif size=1>cc</FONT></DIV>
<TD><FONT face=sans-serif size=1>"'opencms-dev@opencms.org '"
<opencms-dev@opencms.org></FONT>
<TR vAlign=top>
<TD>
<DIV align=right><FONT face=sans-serif size=1>Subject</FONT></DIV>
<TD><FONT face=sans-serif size=1>RE: [opencms-dev] upload big file
problem</FONT></TR></TBODY></TABLE><BR>
<TABLE>
<TBODY>
<TR vAlign=top>
<TD>
<TD></TR></TBODY></TABLE><BR></TR></TBODY></TABLE><BR><BR><BR><FONT
size=2><TT> <BR>HI,<BR>I am using windows xp professional.U can set it in
the enviroment variable.<BR>Define a variable CATALINA_OPTS and give its value
as -Xmx512m -Xms72m or<BR>according to ur requirement.<BR><BR>Hope this
helps,<BR>nitin<BR><BR>U'll hav to open a new command prompt window for the
changes to take affect<BR>when u restart tomcat<BR>-----Original
Message-----<BR>From: opencms-dev-bounces@opencms.org<BR>To:
opencms-dev@opencms.org<BR>Cc: opencms-dev@opencms.org;
opencms-dev-bounces@opencms.org<BR>Sent: 11/24/05 10:02 AM<BR>Subject:
[opencms-dev] upload big file problem<BR><BR><BR>Hi all, <BR><BR>I get a
problem from uploading large file to my opencms system. There is<BR>a message
"Java Heap Space". I think the problem come from the memory<BR>setting in JVM.
I want to increase the Java Heap Momory Size in the<BR>system by typing "java
-Xms512m -Xmx512m" in the command prompt but<BR>failed. Do anyone know the
syntax? And what place i have to include this<BR>command to permanently set
the value? <BR><BR>opencms version: 6.02 <BR>JVM: 1.5.0.02 <BR>tomcat: 4.1
<BR><BR>Thanks your help!<BR>Matt Yim<BR><BR><BR><<ATT46184.txt>>
<BR>DISCLAIMER: The information in this message is confidential and may
be<BR>legally privileged.It is intended solely for the addressee.Access to
this<BR>message by anyone else is unauthorised.If you are not the
intended<BR>recipient,any disclosure,copying,or distribution of the message,or
any<BR>action or omission taken by you in reliance on it,is prohibited and may
be<BR>unlawful.Please immediately contact the sender if you have received
this<BR>message in error.Thank
you.<BR></TT></FONT><BR></BLOCKQUOTE></BODY></HTML>