I'm using Java 8 on a cluster. I have submitted a test application to the cluster which just sleeps for 10 seconds. I have requested one core. The actual memory consumption is only 30MB but the allocated (reserved) memory by Java was 30GB.
Is there a way to limit the allocated memory? I have tried to use the -Xmx setting but this does not help. I think Java is not designed for ruing on a cluster.
