On 7/1/2017 10:37 AM, David Wright wrote:

I have been unable to execute Java with >=2048M memory allocation
since upgrading to stretch. I've changed nothing in my configuration
otherwise.

I have plenty of RAM:

# free
               total        used        free      shared buff/cache
available
Mem:        5168396     3326140      245712 85320     1596544     1227812
Swap:       2255616      259204     1996412

# ulimit -v
unlimited
What does     # ulimit -H -v     say?

# java -Xmx2048M
Error occurred during initialization of VM
Could not reserve enough space for 2097152KB object heap

For the record, this problem is fixed for me in 4.9.0-4-686-pae ( = 4.9.51-1 ).

Adam

Reply via email to