|
I
don't know wich OS you use ? but If you have this error it mean that your
application create many threads ( for exemple ) than you can create in your OS,
so in first:
Look
if you can growth a number of thread in kernel ( in this exemple ) (
max_thread_proc or nkthread if you use HP-UX for growth number of thread in one
process and total number of process in your kernel )
In
second, you should look you application, if you create a many object ( inutily )
or many threads, try to performe it.
In
third, you can use growth your Heap:
$java
-mx=100M application
and
note if a bahavior of application is change or no, if yes,
try:
$java
-Xverbosegc:file=gc.$$ application
And try to analyse a gc.** file, you can see if you need
more Heap size or ....
Regards
Hicham Lassehab
*********** __
************* ********* / / ********* Hicham
lassehab ****** /
/ ****** Support technique
HP ****
/ /__ ____ **** mail *** / __ )/ __ )
*** [EMAIL PROTECTED] *** / / / // / / / *** Nous
vous invitons a decouvrir *** / / / // /_/ / *** les
bases deconnaissance ***
/_/ /_// ___ / *** http://www.itrc.hp.com le portail
**** /
/ **** des services &
support HP utilisees ***** /
/ ***** et mises a jour
par les ingenieurs HP ****** /_/
******** ainsi qu'un vaste panel d'autres outils ********* **************** Utilisez
le pour ouvrir vos appels.
i n
v e n t
hi,
As the error clearly states your JVM has run out
of memory allocated to it.
Try to debug your code...it must be having some
memory leaks which are accumulating and eventually leading to
OutOfMemoryError.
It won't be a bad idea to use a Memory Profiler
like OptimizeIt or JPRobe Profiler to track the memory leaks.
Hope it helps.
+Deepak.
*************************************************** What might have
been and what has been Point to one end, which is always present.
***************************************************
----- Original Message -----
Sent: Tuesday, September 03, 2002 5:57
PM
Subject: [jdjlist] How to solve
outOfMemory Exception
Hi,
I am getting
the following error.
java.lang.OutOfMemoryError
<<no stack trace
available>>
Rgds,
Satya
To change your JDJList options, please visit: http://www.sys-con.com/java/list.cfm
To change your JDJList options, please visit:
http://www.sys-con.com/java/list.cfm
|