Abstract:
Java implements a garbage-collected heap with the inability to deallocate objects manually. This can lead to huge objects sitting in memory for longer than intended. Also, the delayed release memory back to the operating system leads to an increase in the memory footprint of the process, even if most of the heap is free. This project tackles this problem by providing an API which will allow java programmer to mark an object free which will lead to instantaneous uncommitting of unused memory pages or if the page is not completely free the marked object will freed in the coming garbage collector cycle. To prove the working of this approach, it has been tested on the benchmarks of Renaissance suite.