[opencms-dev] java.lang.OutofMemoryError ( when Deleting aproject)

aravind kumar aravindkuppala at yahoo.com
Wed Dec 29 15:54:46 CET 2004


 I tried both things 
 Still I am getting this error.

 when i go to my command prompt and gave set

 I got this so I think I set the env variable
correctly.

HOMEDRIVE=C:
HOMEPATH=\Documents and Settings\aravindk
JAVA_HOME=C:\j2sdk1.4.2_06
JAVA_OPT=-Xms128m -Xmx512m

thanks
arvind
--- Hans van der Linden <hans at iblinden.nl> wrote:

> So indeed it must be the other way around !!!
> 
> -----Oorspronkelijk bericht-----
> Van: opencms-dev-bounces at opencms.org
> [mailto:opencms-dev-bounces at opencms.org]Namens John
> Giammarche
> Verzonden: woensdag 29 december 2004 15:34
> Aan: The OpenCms mailing list
> Onderwerp: RE: [opencms-dev]
> java.lang.OutofMemoryError ( when Deleting
> aproject)
> 
> 
> >>>-Xms512m -Xmx128m
> 
> Shouldn't it be -Xms128m -Xmx512m ? (Initial/Max,
> being Max > Initial).
> 
> Greetings,
> 
> John
> 
> 
> 
> --- Hans van der Linden <hans at iblinden.nl> wrote:
> 
> > Steve,
> > 
> > I have tomcat 5 running as a service with the
> > solution below. I works for me but your solution
> is
> > more elegant since it only effects
> > tomcat and no other java depended software on you
> > system.
> > 
> > Hans
> > 
> > 
> > 
> > -----Oorspronkelijk bericht-----
> > Van: opencms-dev-bounces at opencms.org
> > [mailto:opencms-dev-bounces at opencms.org]Namens
> Steve
> > Verzonden: woensdag 29 december 2004 15:08
> > Aan: 'The OpenCms mailing list'
> > Onderwerp: RE: [opencms-dev]
> > java.lang.OutofMemoryError ( when Deleting
> > aproject)
> > 
> > 
> > Hi Aravind, Hans,
> > 
> > Hope you don't mind me poking my nose in, but I
> > believe the suggested
> > solution will only work if Tomcat is NOT running
> as
> > a Windows SERVICE.
> > 
> > If it is installed as a SERVICE it will not read
> > YOUR environment on
> > startup and you must pass these to the jvm
> directly.
> >  You will need to
> > uninstall the service (NOT uninstall Tomcat) and
> > re-install with the
> > options being passed as parameters.
> > 
> > Below is my example with Tomcat 5:-
> > 
> > tomcat -uninstall "Apache Tomcat 5.0"
> > 
> > tomcat -install "Apache Tomcat 5.0"
> > %JAVA_HOME%\jre\bin\server\jvm.dll
> >
>
-Djava.class.path=%CATALINA_HOME%\bin\bootstrap.jar;%JAVA_HOME%\lib\tool
> > s.jar -Dcatalina.home=%CATALINA_HOME%
> > %CATALINA_OPTS%
> > -Dfile.encoding=ISO-8859-1 -Xrs -Xms512m -Xmx128m
> > -start
> > org.apache.catalina.startup.Bootstrap -params
> start
> > -stop
> > org.apache.catalina.startup.Bootstrap -params stop
> > -out
> > %CATALINA_HOME%\logs\stdout.log -err
> > %CATALINA_HOME%\logs\stderr.log
> > 
> > Hope this helps.
> > 
> > Steve,
> > REDPlanet Technologies Ltd
> > 
> > -----Original Message-----
> > From: opencms-dev-bounces at opencms.org
> > [mailto:opencms-dev-bounces at opencms.org] On Behalf
> > Of Hans van der
> > Linden
> > Sent: 29 December 2004 13:30
> > To: The OpenCms mailing list
> > Subject: RE: [opencms-dev]
> > java.lang.OutofMemoryError ( when Deleting
> > aproject)
> > 
> > oke
> > 
> > than you can add JAVA_OPT as an environment
> variable
> > to your system
> > (just like the fameous PATH variable) go to the
> > properties of
> > "my computer"
> > 
> > Hans
> > 
> > -----Oorspronkelijk bericht-----
> > Van: opencms-dev-bounces at opencms.org
> > [mailto:opencms-dev-bounces at opencms.org]Namens
> > aravind kumar
> > Verzonden: woensdag 29 december 2004 13:03
> > Aan: The OpenCms mailing list
> > Onderwerp: RE: [opencms-dev]
> > java.lang.OutofMemoryError ( when Deleting
> > aproject)
> > 
> > 
> > 
> >  I am running tomcat 4.1.3
> > 
> >  on windows xp machine.
> > 
> >  thanks
> > aravind
> > 
> > 
> > --- Hans van der Linden <hans at iblinden.nl> wrote:
> > 
> > > Are you using windows ?, linux ? ocms version?
> > > tomcat version?
> > >
> > > -----Oorspronkelijk bericht-----
> > > Van: opencms-dev-bounces at opencms.org
> > > [mailto:opencms-dev-bounces at opencms.org]Namens
> > > aravind kumar
> > > Verzonden: woensdag 29 december 2004 12:49
> > > Aan: The OpenCms mailing list
> > > Onderwerp: RE: [opencms-dev]
> > > java.lang.OutofMemoryError ( when Deleting
> > > aproject )
> > >
> > >
> > >
> > >  Hi Hans,
> > >
> > >  great where should i set this option
> > >
> > >  explain bit more like where i should i give
> this.
> > >
> > >  thanks
> > > arvind
> > >
> > > --- Hans van der Linden <hans at iblinden.nl>
> wrote:
> > >
> > > > Hi
> > > >
> > > > Did you upsize the heap space of the JVM try:
> > > >
> > > > set JAVA_OPT=-Xms512m -Xmx128m
> > > >
> > > > Hans
> > > >
> > > >
> > > > -----Oorspronkelijk bericht-----
> > > > Van: opencms-dev-bounces at opencms.org
> > > > [mailto:opencms-dev-bounces at opencms.org]Namens
> > > > aravind kumar
> > > > Verzonden: woensdag 29 december 2004 9:43
> > > > Aan: opencms-dev at opencms.org
> > > > Onderwerp: [opencms-dev]
> > > java.lang.OutofMemoryError
> > > > ( when Deleting a
> > > > project )
> > > >
> > > >
> > > >
> > > > Hi all,
> > > >
> > > >  I tried to delete a big project.
> > > >
> > > >  then it gave me this error on my tomcat
> server
> > > > window.
> > > >
> > > >  what could be the problem.?
> > > >
> > > >  The project is having many files. so how to
> > > delete
> > > > this project now.
> > > >
> > > >  thanks
> 
=== message truncated ===


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the opencms-dev mailing list