Still digging into the source of the
outofmemoryerrors, but since I increased the heap to 128 it happens less
frequently. But what happens if you specify a 128MB heap size on a machine
with less than 128MB? (Realizing that's not neccessarily a question for this
group).
Using a manual /gc command to the game's
chat/command line (I assume that's what you meant David) sometimes releases
one-two MB of meory. Garbage collection on my classes does happen
automatically, I see the output from my finalize methods.
While I continue to dig through this, I wanted to
point out that we normally run about 60-90MB of usage according to
taskmgr. But when we minimize the window and restore it, memory drops down
to under 30MB or so (give or take a few MB) and slowly builds up from
there. I have finalize methods on all of the major classes, and they're
not what's being freed up. THEN, (and here's the wierd part),when I do a
gc manually from the app, memory goes back UP to 60+MB.
Very strange...
Scott
|
- [JAVA3D] Memory problems in J3D App; No Stack Trace Ava... Scott Mobile
- Re: [JAVA3D] Memory problems in J3D App; No Stack ... Yazel, David J.
- Re: [JAVA3D] Memory problems in J3D App; No St... Scott Mobile
- Re: [JAVA3D] Memory problems in J3D App; N... Pasi Paasiala
- Re: [JAVA3D] Memory problems in J3D Ap... Daniel Selman
- Re: [JAVA3D] Memory problems in J... Scott Mobile
- Re: [JAVA3D] Memory problems in J3D App; N... Octavian Nasarimba
- Re: [JAVA3D] Memory problems in J3D App; No Stack ... Chien Yang