@changes:
-memory management for java heap space