I'm using jdk1.4.2_04, and it still happens!

Here are some of my observations on the issue:

1. I did once develop some software using servlets/jsps. I never came accross this 
problem.  However, as jsps are automatically releaded, and this app was mainly jsp 
based, i dont remeber doing any restarting :)

2. running a memory intensive / complex app, it runs out of memory a lot quicker :)

3. If i run the stopapp and startapp ant tasks in a loop it runs out of memory with my 
struts app pretty quickly.  Doing the same thing to axis takes a lot longer.

So, i figure its not restricted to struts.

Anyway, still cant figure out how to increase max memory if it's running as a windows 
service?

Daniel.




-----Original Message-----
From: Jignesh Patel [mailto:[EMAIL PROTECTED]
Sent: 14 May 2004 04:45
To: Struts Users Mailing List; Heinle, Chuck
Subject: Re: java.lang.OutOfMemoryError after server app start/stop
cyclin g


As per my knowledge the bug of OutOfMemory is related to version less then 
jdk1.4. It has been solved in the 1.4.

-Jignesh
On Thursday 13 May 2004 23:30, Heinle, Chuck wrote:
> We have a similar problem with WebLogic 8.1 SP2...I was told by an
> associate that there is a 1.4.2_02 bug related class loading that might
> associated with the OutOfMemory.
>
> -----Original Message-----
> From: Joe Germuska [mailto:[EMAIL PROTECTED]
> Sent: Thursday, May 13, 2004 1:52 PM
> To: Struts Users Mailing List
> Subject: RE: java.lang.OutOfMemoryError after server app start/stop cycling
>
> At 6:07 PM +0100 5/13/04, Daniel Perry wrote:
> >Putting up the maximum memory Xmx does help as it gives it more memory to
> >use up, but only delays the inevitable :)
> >
> >Is this a struts issue? or does it happen with all tomcat apps?
>
> It happens with every servlet container I've used.  My understanding
> is that to redeploy a webapp, app servers generally discard the
> classloader they have been using and make a new one.  For various
> reasons, this can leave orphan objects which are never garbage
> collected.  If enough of these accumulate, you run out of memory.
>
> Admittedly, I use Struts in all these cases, you might argue that
> it's a Struts issue, since that's the common feature, but I can't
> think of anyways Struts is being particularly careless in a way that
> would aggravate this problem.
>
> I may have a completely wrong understanding of the problem too, but
> this is how we explain it to ourselves around here!
>
> Joe

-- 
Jignesh Patel
Project Leader
____________________________________________________________
Bang Software Technolgy Pvt. Ltd.

 
 (E) [EMAIL PROTECTED]

 (T) 091 484 3942132


 B-4, Smart Business Centre,
 Infopark, SDF IT Building,
 Kusumagiri P.O.,Kakkanad,
 Kochi - 682030,
 Kerala,
 India.

 Information contained in this transmission to the named  addressee, including 
any attachments thereto, should be
 considered the proprietary and confidential information of the sender.  As a 
condition for viewing the information,
 the sender agrees to keep the information confidential, to  refrain from 
disclosing the information, directly or
 indirectly, and to refrain from any actions that would  constitute or 
facilitate unauthorized access to the 
 information without express permission from the sender. The recipient also 
acknowledges and agrees to respect
 sender's intellectual property rights in and to the  information.  If the 
recipient of this transmission is not
 the named addressee, the recipient should immediately notify the sender and 
destroy the information transmitted
 without making any copy or distribution thereof. 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to