Java memory allocation issues

From IBERS Bioinformatics and HPC Wiki
Revision as of 13:39, 31 August 2016 by Mis20 (talk | contribs) (Created page with "Recently an issue was discovered when trying to run a java with a large heap allocation. In this case we were trying to allocate 2Gb to the java VM instance. Even when specif...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Recently an issue was discovered when trying to run a java with a large heap allocation.

In this case we were trying to allocate 2Gb to the java VM instance. Even when specifying large memory allocations in SGE java would always complain there was not enough space to allocate the heap.

A few people online have reported similar issues with SGE and java, it seems to stem from differences in the way java and SGE allocate memory to threads. Their solution is included on this page, but for more details see https://wiki.york.ac.uk/pages/viewpage.action?pageId=66126798