Comsol Java Heap Data Structure