[opencms-dev] java.lang.OutofMemoryError ( when Deleting a project )
John Giammarche
jgiammarche at yahoo.com
Wed Dec 29 16:46:17 CET 2004
The solution is to find out the max memory usage for
your application taking into account stress situation,
add a 5%-10% margin (it's somewhat high, but take into
account that if you miss by 1 bit, the whole system
collapses) and set the limit in that size.
And if everything fails, check
http://wrapper.tanukisoftware.org/doc/english/introduction.html
It's a wrapper capable of restarting Tomcat in that
situations (I think).
Greetings,
John
--- aravind kumar <aravindkuppala at yahoo.com> wrote:
>
> Hi John,
>
> So what is the solution for me.
>
> cheers
> arvind.
> --- John Giammarche <jgiammarche at yahoo.com> wrote:
>
> > It's true, but it's really a Java problem not
> being
> > able to address the whole memory if not configured
> > to
> > do so by "-Xmx". It's impossible to know
> beforehand
> > how much memory a dynamic structure will occupy.
> >
> > Just my 2 cents.
> >
> > Regards,
> >
> > John
> >
> >
> > --- Tristan Tarrant <ttarrant at etnoteam.it> wrote:
> >
> > > Even though increasing heap and stack is a good
> > > idea, this problem
> > > should be solved at the code level making sure
> > that
> > > certain data
> > > structures don't grow as much when deleting a
> > > project.
> > >
> > > Tristan
> > >
> > > On Wed, 2004-12-29 at 11:54 +0100, Hans van der
> > > Linden 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
> > >
> >
> > > ATTACHMENT part 1.2
> application/x-pkcs7-signature
> > name=smime.p7s
> > >
> > >
> > > _______________________________________________
> > > 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
> >
> >
> >
> >
> >
> > __________________________________
> > Do you Yahoo!?
> > Yahoo! Mail - You care about security. So do we.
> > http://promotions.yahoo.com/new_mail
> >
> >
> > _______________________________________________
> > 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
> >
>
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail - Find what you need with new enhanced
> search.
> http://info.mail.yahoo.com/mail_250
>
>
> _______________________________________________
> 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
>
__________________________________
Do you Yahoo!?
Take Yahoo! Mail with you! Get it on your mobile phone.
http://mobile.yahoo.com/maildemo
More information about the opencms-dev
mailing list