status of OpenJDK on Haiku

Hamish Morrison hamishm53 at gmail.com
Thu Apr 26 19:05:36 UTC 2018


On 26/04/2018 19:34, Humdinger wrote:
> # There is insufficient memory for the Java Runtime Environment to 
> continue.
> # Native memory allocation (malloc) failed to allocate 201326600 bytes 
> for Chunk::new
> # An error report file with more information is saved as:
> # /sources/src/hs_err_pid1566.log
> Certificate was added to keystore
> 
> 
> This keeps repeating. This is one of those logs: http://ix.io/18Nx 

Well done getting this far! Attempting to malloc a contiguous 200MB of 
memory might not work so well on a 32-bit operating system. One thing to 
try is disabling ASLR:

export DISABLE_ASLR=1

The path length limit is strange - I wonder if this is some restriction 
I accidentally introduced into the Haiku port...


More information about the haiku-port-dev mailing list