Bura Tino wrote:
My I follow up my own message. The problem was that the same command
that updates the location of a surface often takes an unreasonably long
time. Here's the code snipet:

Hi,
it could be the garbage collector. Try to run the prog with -verbose:gc
to verify it.
If it's so, you have to look where you create new objects (maybe every
frame) and find a way to avoid this (reusing object or the like). And
you can try to give jvm more memory with -Xms32m -Xmx64m.


Bye

===========================================================================
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".

Reply via email to