Mail archive

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

From: Richard Johnson <>
Date: Mon, 03 Jun 2013 20:17:42 +0430
The test case is attached.

On 06/03/2013 05:44 PM, Timo Teras wrote:
On Mon, 03 Jun 2013 17:03:47 +0430
Richard Johnson <> wrote:

I am seeing the expected output:
    MPROTECT is disabled
    RANDEXEC is disabled
    EMUTRAMP is disabled
    RANDMMAP is disabled
I tried the "java -Xms$javaMinHeap -Xmx$javaMaxHeap <your-class>"
solution too, which resulted in a SIGSEGV signal in JRE. The logs are
attached. Is the problem with pax?
Unlikely. It seems to crash in NET_SockaddrEqualsInetAddress which is
native code. Though, since it's not a debug build it could be some
other close by function which is missing debug info.

Either uclibc bug, or something running out of memory. You could try to
increase the heap sizes...

Also, can you share an example that crashes like that this?

- Timo

On 05/28/2013 09:49 PM, Yves Schumann wrote:
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:


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

Received on Mon Jun 03 2013 - 20:17:42 UTC