This method of the ComLib class releases all unused libraries on the current thread and the virtual machine's host single-threaded apartment thread.
public static native void freeUnusedLibraries();