>The only times I have gotten OOM errors is when I have an infinite loop of
>method A calling method B which calls method A which calls method B...

There is also a bug in the JDK1.2 (I reported it a while ago to
SUN, but they answered that I didn't describe it well enough;
I admit: my English isn't that good).
If you open too many files without closing them (in our case:
we didn't release the filehandle to a flat database file),
you also get an 'Out of Memory'-error instead of a 'Too many
open files'-error (that would help a developer a lot more
in order to find his bug).
So we lost quite some time monitoring memory use and looking for
infinite loops, but in the end we discovered that there was an
error in the error...


______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to