maybe you could post your update() method , it might a few extra clues
as to what is exactly happening.
Also: isolating out a testcase of 2-3 classes that can reproduce the
problem would help tremendously in getting to the bottom of this.
Regards
Jorg
Tang, Charlie Y. wrote:
Hi
I have a prob
cause of this
increase over time is.
thx
-Original Message-
From: Thomas DeWeese [mailto:[EMAIL PROTECTED]
Sent: Monday, December 06, 2004 9:51 AM
To: Batik Users
Subject: Re: java.lang.OutOfMemoryError
Tang, Charlie Y. wrote:
I've included an html output of JProfiler with which t
e cause of this
increase over time is.
thx
-Original Message-
From: Thomas DeWeese [mailto:[EMAIL PROTECTED]
Sent: Monday, December 06, 2004 9:51 AM
To: Batik Users
Subject: Re: java.lang.OutOfMemoryError
Tang, Charlie Y. wrote:
> I've included an html output of JProfiler with which th
Tang, Charlie Y. wrote:
I've included an html output of JProfiler with which the program was ran
for 4 days or so.. it appears the problem lies with some of the java
primitives that batik maybe using such as char[] ?!
Hi Charlie,
Thanks for including this, however I'm a little unsure of how to
Not sure if it's completely relevant, but nearly every time I've run
into the out of memory error in a non-production environment, I've
always boosted the memory allocation using -Xms and -Xmx. See
http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/java.html for
more.
Not a best practice, I'm s
Tang, Charlie Y. wrote:
I've used JProbe on my program,when I used InvokeLater instead of
InvokeAndWait, the problem was even worse, my program would crash after
about 10 hours. The RunnableQueue$Link object count increased everytime
updates were called.
Who is holding references to the Link O
Thomas, thanks for the reply
>> I have a problem of OutofMemoryError when updating my screen
>> continuously every second after about a day or so
> I don't know if the system has been stress tested to
>this extent . Every update involves a fair amount of code.
>Someone is obviously holding on
Tang, Charlie Y. wrote:
> I have a problem of OutofMemoryError when updating my screen
> continuously every second after about a day or so
Try running your application with JMP installed. When the memory
gets full, sort the heap by type of object to see which class has
all the instances filling up
Tang, Charlie Y. wrote:
I have a problem of OutofMemoryError when updating my screen
continuously every second after about a day or so
I don't know if the system has been stress tested to
this extent . Every update involves a fair amount of code.
Someone is obviously holding onto something but