InstantDB Project
About InstantDB
Project Mail Lists
Short History
Reporting Bugs
Screen Shots
3rd Party Examples
FAQs

Software
Downloads
Documentation
CVS Repositories
Roadmap
License

About Enhydra.org
Who We Are
News, Articles & Events
Getting Involved
Contact Us

Community
Demos
Contributions
Resources
Case Studies
On The Edge! -NEW-
Commercial Vendors


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: InstantDB: Garbage collection in Java



Use

Runtime.getRuntime().gc();

or

System.gc();

Though keep in mind that the behaviour of this method is dependant on
the implementation of the JVM and may not have any effect with your Java
runtime.

Toby.


Raj Bhaskar wrote:
> 
> Hi all,
>         I remember someone recently suggesting in response to a question
> that the questioner should manually call the Java garbage collector.
> Well, I think that I might need to do this for a project that I'm doing and
> was just wondering *how* you call the garbage collector manually in
> Java?
>
-----------------------------------------------------------------------------
To unsubscribe from this mailing list, send email to majordomo@enhydra.org
with the text "unsubscribe instantdb" in the body of the email.
If you have other questions regarding this mailing list, send email to
the list admin at owner-instantdb@enhydra.org.