Java heap space (memory management issue)

Follow