hi all,

I'm currently using a switch group to display a scratch book animation of vrml
objects. Each time a vrml file (2M size) is parsed it is added to the switch
target.

After three load
/******************
Scene = null;

for(all the vrmlObject){

try {
 s = loader.load(vrmlObject.getPath());
 }
 catch (FileNotFoundException a) {
 System.err.println(a);
 System.exit(1);
 }
 catch (ParsingErrorException a) {
 System.err.println(a);
 System.exit(1);
 }
 catch (IncorrectFormatException a) {
 System.err.println(a);
 System.exit(1);
 }
 targetSwitch.addChild(s.getSceneGroup());
}
/**********************

I'm getting the famous java.lang.OutOfMemory.Error. I tried to pump up the
heap size memory with:

-Xmx512m
-Xms256m

and I get the same error. Does anybody have a hint except play with the memory
parameters?? Who can I target the problem??

Serge Bernier

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