|
SOLUTIONS
|
JLINK SYMBOL
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.
DetailsDetails
- To use ReleaseJavaObject, you first need to load J/Link using Needs["JLink`"].
- 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.
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »
