using Java on linux the maximum amount of memory you can use is -mx1960m, ie you cannot use a 2GB Java heap. Ie Java -mx2000m -version will display an error message about lack of heap space Part of the problem is that linux has previously had restrictions with pthreads using a 2GB heap even though the stack space per process is 'unlimited'
|