[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]



need your opinion:
i have a java program that runs for several days then it begins
to throw out of memory exceptions. its a small multi-threaded
app.server. i don't consider it that memory intensive.
it seems that over the long run the gc is not freeing up enough
of the heap. i played with the -Xmx param and obviously all it does
is to delay the exceptions. other than system.gc calls and assigning
objects to null are there other ways i can "hint" the gc to "please
hurry and free up some of the heap" before more allocations take place?
i guess tuning with the -X heap settings i can have the jvm call the gc
more often?

tia
-miguel



</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<ul><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><a name="00275" href="msg00275.html">[ale] OT: java gc</a></strong>
<ul><li><em>From:</em> dchambers at bugfixer.net (Denny Chambers)</li></ul></li>
<li><strong><a name="00290" href="msg00290.html">[ale] OT: java gc</a></strong>
<ul><li><em>From:</em> cshapiro at nubridges.com (Charles Shapiro)</li></ul></li>
</ul></li></ul>
<!--X-Follow-Ups-End-->
<!--X-References-->
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00273.html">[ale] still ALE Mail last received 8:30am March 8</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00275.html">[ale] OT: java gc</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00297.html">[ale] Knoppix weirdness</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00275.html">[ale] OT: java gc</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00274"><strong>Date</strong></a></li>
<li><a href="threads.html#00274"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>