ReleaseJavaObject

ReleaseJavaObject[javaobject]
tells the Java memory-management system to forget about any references to the specified JavaObject that are being maintained solely for the sake of Mathematica.
  • The JavaObject in Mathematica is no longer valid after the call.
  • Call ReleaseJavaObject when you are completely finished with an object in Mathematica, and want to allow it to be garbage-collected in Java.
© 2008 Wolfram Research, Inc. japanese.gif