Hi,
I tried to prohibit the automatical Garbage Collection by "-Xnoclassgc"
command line for Java. Then I explicitly call 'System.gc()' to execute GC
from time to time in my code.
But I did not get very significant improvement.
Another problem is "Thread Synchronization", sometimes when a synchronized
block is lock, other threads have to wait for this block until it is
available. So, try to avoid all unecessary thread might improve the
performance.
Goof Luck!
Hongkun Wang
----- Original Message -----
From: "Ulrich Staudinger" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 03, 2000 6:48 AM
Subject: Re: [JAVA3D] Smooth, simple animation
> Another aspect not to forget is the garbage collection!
>
> When working with shark3d we had problems due to the java-implementation
in the
> engine. After a certain time a garbage collection will occur - grabbing
all
> systemressources. Thats really a big problem for realtime applications
which are
> supposed to run for longer period of time (e.g. 1 or 2 hours)
>
> Or can anyone give an solution for that "problem"?
>
>
> Marco Lohse wrote:
>
> > Hi Joerg,
> > maybe you should take a look at the PathInterpolator-class and
> > subclasses. They run quite smooth.
> > I think there is a TCB spline interpolator class with sources included
> > in the j3d utilities.
> >
> > Hope that helps, Marco.
> >
> > Joerg 'Herkules' Plewe wrote:
> > >
> > > Imagine you intend to drive a spaceship through a J3D scene, lets say
with
> > > constant speed. The camera is fixed at the ship. What would be the
best way
> > > to do that really smooth? Esp. on Win32?
> > >
> >
> >
===========================================================================
> > To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> > of the message "signoff JAVA3D-INTEREST". For general help, send email
to
> > [EMAIL PROTECTED] and include in the body of the message "help".
>
> --
> Ulrich Staudinger
>
> <[EMAIL PROTECTED]>
> Cellular: ++49 (0)173-3587204
>
>
===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff JAVA3D-INTEREST". For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".