Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You can use the System class to do this. "System.gc()" will request a GC run. Of course, its only a request. There's no guarantee when, and if the GC will fulfill that request.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: