Hi,

Is there a particular way to instantiate a number of Canvas3D.s?  I find
that with some systems (I have only noticed it on windows) the whole java
process hangs when you open a few, esp. if you have other java windows
open.

I take an x3d file from another application (a client), and display it in
a number of windows.  I made a test program that just showed a simple
scene graph (basically the HelloUniverse example a number of times), and
ran it with passing the x3d file from a number of sources.  There was
quite a variation in the number of canvases I could have open.

If I load it without the client, and just pass it the file on the command
line, it normally does not crash with 20 canvases.  If I do it through the
client, but take the file from the local disk, it works about half the
time with 12 canvases.  If I transfer the file with SOAP, then it often
fails with 6 canvases.  When it fails you do not get any message, but you
tend to get a half drawn canvas3D (generally the background but no scene).
It does not appear to be running out of memory, as I am printing out the
free memory and it does not occur when it is lowest.

Any help greatly appreciated,

Hugh

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