Thanks for the replies I got off list.

Since the problem seems to come from default heap limits set by Java, my
solution has been to set an alias java='java -Xmx256m' cluster-wide. My
experimentation has revealed that Java honours the last -Xmx option, so
users can set their own -Xmx without any danger.

Thanks again,
Peter
 
On 07/09/2012 04:41 PM, Peter van Heusden wrote:
> Hi there
>
> I'm using gridengine 6.2u5-4 on Ubuntu 12.04. I've set my cluster to
> have h_vmem as a consumable with a default of 4G (the compute nodes in
> my cluster have at least 64G of RAM each). I'm getting a really strange
> problem running java though. My jdk is openJDK 7, (package
> 7~u3-2.1.1~pre1-1ubuntu3). Even a Hello World app complains:
>
> Error occurred during initialization of VM
> Could not reserve enough space for object heap
>
> If I run java directly on the compute node, it all works fine. If I
> manually specify a heap size (e.g. -Xmx128m), it works fine. I suspect,
> therefore, that the problem comes from the interaction between
> gridengine and java.
>
> Does anyone have any idea what could be causing this problem?
>
> Thanks!
> Peter
>
> _______________________________________________
> users mailing list
> [email protected]
> https://gridengine.org/mailman/listinfo/users


_______________________________________________
users mailing list
[email protected]
https://gridengine.org/mailman/listinfo/users

Reply via email to