Ultra Light Client Guide and Reference

My long running ULC Java server seems to be leaking memory. What can I do?

When a ULC Java application terminates the free method is called on all ULC Java Proxy parts. In some cases classes that are built using the ULC Java Builder have references to other parts that prevent them from being garbage collected. You can optionally implement the method free on all subclasses of ULCVajContext, ULCShell and ULCVajComposite to reset any instance variables and other data structures.

Note:Ensure that if you do implement the free method that you call super.free() within your implementation. In addition the ULCShell implements the API setDestroyOnClose(boolean) set this value to true on those ULCShells that can safely be destroyed when they are closed.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]