For discussion of Alpine Linux development and developer support

Re: [alpine-devel] Java Runtime Environment on Alpine Linux

Yves Schumann
Details
Message ID
<20130528171911.5CF0ECB5EC@mail.nettworks.org>
Sender timestamp
1369761544
DKIM signature
missing
Download raw message
Hi Richard

Am 28.05.2013 13:07, schrieb Richard Johnson:
>    Error occurred during initialization of VM
>    Could not reserve enough space for object heap

Got the same problem on a standard alpine installation some time ago.
You should try to use more heap space like this:

javaMinHeap='256M'
javaMaxHeap='512M'

java -Xms$javaMinHeap -Xmx$javaMaxHeap <your-class>

-- 
Kind regards,
Yves