jw wrote:

> Does anyone have some example (C-)source for a native JVMPI DLL that gets started 
>with'java -XrunDLLNAME [classname]'(Java VM Profiling API)I looked in the JDC but 
>without luck. In the JVMPI docs (under 'Tool support') is a method that promises to 
>switch off the GC : void (*DisableGC)(void);
> "Called by the profiler to disable garbage collection, until EnabledGC is called. 
>DisableGC and EnableGC calls may be nested." "As long as there's hope..."

jwin,

I don�t think, that switching off the gc, will help. By my program, the gc frees
600kB ever 30 ms or so. If he wouldn�t do this, it would take only seconds,
and there is no free memory left. Now I think to know, that the problem is
caused by some methods of the J3D API (setTransform()...).

I also found this in the README.Java3D-jdk.OpenGL.txt:
- Shape3D memory not freed when unassigned if associated

Perhaps its the same with Shape3Ds which are transformed?!?

gerd
--
Trautner Gerd
Bahnhofstr. 39
A - 4230 Pregarten
--------------------
http://yuri.at/pd


�����������������������
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 3D Home Page: http://java.sun.com/products/java-media/3D/

Reply via email to