posted 21 years ago
This question is so tough, even the most senior engineers here at my company still dont know what is going on. To answer this question you need indepth knowledge of how java allocates its memory.
We are running a large business server written in java, it receives requests via corba interface, does some things, and passese on the request to be porcessed at some other location.
The program has run fine for 6 months or so. Then one day , java.lang.OutOfMemoryError.
This is strange because its running on a HP server with over 4 gigs of memory, and the since of the app in the nt-process list says its was about 90 megs when it crash - so there was plenty memory!
Now, we have looked, I have look many people have looked, there is no memory leak in this app.
WHat is happening? Ive got a feeling its to do with the heap size, but shouldnt java just make a bigger heap if it sees it was need more memory ??
Would appricaite any input from anyone who knows how java works, how it allocotes memory, the role the heap plays, and has experience with the out of memory error!!
thanks guys!
cheers !
PLEASE WATCH THIS VIDEO: <a href="http://www.glumbert.com/media/dolphin" target="_blank" rel="nofollow">http://www.glumbert.com/media/dolphin</a><br /> <br /><-- that video is no joke. Spread the word... this cant go on!!!<br /> <br />SCJP 1.4, SCBCD 1.3, SCWCD 1.4, SCMAD 1.0