Added VM heapsize stuffs.