Difference between revisions of "Java memory allocation issues"

From IBERS Bioinformatics and HPC Wiki
Jump to: navigation, search
(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...")
(No difference)

Revision as of 13:39, 31 August 2016

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