Java Interface >

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.
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF