[opencms-dev] java.lang.OutofMemoryError ( when Deleting aproject)
Hans van der Linden
hans at iblinden.nl
Wed Dec 29 15:39:10 CET 2004
John,
maybe? found this on google http://groups.google.nl/groups?hl=nl&lr=&q=Xms128m+Xmx512m
Hans
-----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
> > > arvind.
> > >
> > >
> > >
> > > __________________________________
> > > Do you Yahoo!?
> > > Meet the all-new My Yahoo! - Try it today!
> > > http://my.yahoo.com
> > >
> > >
> > >
> > >
> > > _______________________________________________
> > > This mail is send to you from the opencms-dev
> > > mailing list
> > > To change your list options, or to unsubscribe
> > from
> > > the list, please visit
> > >
> >
> http://mail.opencms.org/mailman/listinfo/opencms-dev
> > >
> > >
> > > _______________________________________________
> > > This mail is send to you from the opencms-dev
> > > mailing list
> > > To change your list options, or to unsubscribe
> > from
> > > the list, please visit
> > >
> >
> http://mail.opencms.org/mailman/listinfo/opencms-dev
> > >
> >
> >
> > __________________________________________________
>
=== message truncated ===
__________________________________
Do you Yahoo!?
Meet the all-new My Yahoo! - Try it today!
http://my.yahoo.com
_______________________________________________
This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://mail.opencms.org/mailman/listinfo/opencms-dev
More information about the opencms-dev
mailing list