i had lots of out of memory problems, but this was entirely my
application, it was not either tomcat's memory management problems (yes, i
redeployed frequently). i think you should run a profiler.


> I know, I can restart Tomcat, but this is not solution. I will come to
> same
> problem after few days or weeks againt. It can be treated as work around.
> I'm not sure that switching to velocity will fix the problem. I looked for
> information on google and found that problem can by caused by tomcat
> deployer or manager. As someone noted there is a memory leak when tomcat
> undeploys webapplication. So after few redeplayments I will come to the
> same
> problem.
>
> I looking forward to switch to Tomcat 5.0, Jetty or Somthing else, not
> sure
> yet.
>
> Any more solutions? Does anyone had same problems? What they did?
>
> Regards Remis.
>
>
> ----- Original Message -----
> From: "Konstantin Priblouda" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Saturday, February 21, 2004 4:42 PM
> Subject: Re: [OS-webwork] Tomcat out of memory
>
>
>>
>> > > An error occurred at line: -1 in the jsp file:
>> > null
>> > >
>> > > Generated servlet error:
>> > >     [javac] Compiling 1 source file
>> > >
>> > >
>> > >
>> > > The system is out of resources.
>> > > Consult the following stack trace for details.
>> > > java.lang.OutOfMemoryError
>> > >
>> > >
>> > > at
>> > >
>> >
>>
> org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandle
> r.java:130)
>> > > How to deal with that and where to look for
>> > solutions. Can it be somehow
>> > > related with javac memory leak?
>>
>> Restart your server :) It seems that  every
>> redeployment causes
>> recompilation of jps classes. And java classloaders
>> are great in loading classes, but not so good in
>> disposing unneeded ones...
>>
>> I would recommend to dump your jsp and go velocity.
>> It's faster and esier to handle anyway....
>>
>> regards,
>>
>> ====> ----[ Konstantin Pribluda ( ko5tik ) ]----------------
>> Zu Verstärkung meines Teams suche ich ab Sofort einen
>> Softwareentwickler[In] für die Festanstellung.
>> Arbeitsort: Mainz
>> Skills:  Programieren, Kentnisse in OpenSource-Bereich
>> ----[ http://www.pribluda.de ]------------------------
>>
>> __________________________________
>> Do you Yahoo!?
>> Yahoo! Mail SpamGuard - Read only the mail you want.
>> http://antispam.yahoo.com/tools
>>
>>
>> -------------------------------------------------------
>> SF.Net is sponsored by: Speed Start Your Linux Apps Now.
>> Build and deploy apps & Web services for Linux with
>> a free DVD software kit from IBM. Click Now!
>> http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
>> _______________________________________________
>> Opensymphony-webwork mailing list
>> [EMAIL PROTECTED]
>> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
>
>
>
> -------------------------------------------------------
> SF.Net is sponsored by: Speed Start Your Linux Apps Now.
> Build and deploy apps & Web services for Linux with
> a free DVD software kit from IBM. Click Now!
> http://ads.osdn.com/?ad_id56&alloc_id438&op=click
> _______________________________________________
> Opensymphony-webwork mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
>


-- 
Su pagarba,
Andrius


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to