Java doesnt leak in the same vein as other languages but you can still get memory 
leaks by retaining references to objects after they are not required any more.

-----Original Message-----
From: Jon Doe [mailto:[EMAIL PROTECTED]
Sent: 04 August 2004 17:18
To: [EMAIL PROTECTED]
Subject: Re: Tomact 5 - Out of Memory


>From: David Smith <[EMAIL PROTECTED]>
>Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
>To: Tomcat Users List <[EMAIL PROTECTED]>
>Subject: Re: Tomact 5 - Out of Memory
>Date: Wed, 04 Aug 2004 07:38:57 -0400
>
>I would set JAVA_OPTS in the startup script you're using to start
>Tomcat. There are loads of emails on the list regarding this. This issue
>is common enough you should be able to google the archives for details
>and get loads of responses.

Fair point -- if you haven't enough memory overhead, then until the garbage 
collector kicks in to free objects up you will have a problem.
>
>Also as others have suggested, check your code for memory leaks --
>especially if it's not under load when it dies.

But hey, I thought one of the big selling points is that Java DOES NOT LEAK! 
Am I mistaken? Isn't it's absence of pointers its big plus? If it does leak 
then changing the heap size is going to be irrelevant. No matter how large 
you set it it will bite you in the bum eventually!

>
>--David
>

_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8. 
http://join.msn.com/?page=features/junkmail


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

Any opinions expressed in this E-mail may be those of the individual and not 
necessarily the company. This E-mail and any files transmitted with it are 
confidential and solely for the use of the intended recipient. If you are not the 
intended recipient or the person responsible for delivering to the intended recipient, 
be advised that you have received this E-mail in error and that any use or copying is 
strictly prohibited. If you have received this E-mail in error please notify the 
beCogent postmaster at [EMAIL PROTECTED]
Unless expressly stated, opinions in this email are those of the individual sender and 
not beCogent Ltd. You must take full responsibility for virus checking this email and 
any attachments.
Please note that the content of this email or any of its attachments may contain data 
that falls within the scope of the Data Protection Acts and that you must ensure that 
any handling or processing of such data by you is fully compliant with the terms and 
provisions of the Data Protection Act 1984 and 1998.


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

Reply via email to