On Sun, 2015-06-07 at 20:21 -0400, trondd wrote: > On 2015-06-07 16:19, Kurt Miller wrote: > > OpenJDK 1.8 u45 for amd64 and i386. i386 has the same intermittent > > crash 1.7 has. Works well enough to self bootstrap using the > > native_bootstrap flavor. Needs some real world use now. > > > > Built and installed fine (amd64) but ran into this problem: > > Error occurred during initialization of VM > Could not allocate metaspace: 1073741824 bytes > > > Not a problem with the port it seems. I fixed it by adding > "-XX:-UseCompressedClassPointers" to my java options. Also works > with "-XX:CompressedClassSpaceSize=256m". Someone fixed it by > increasing the RAM to 8G in the VM they were running in, but I have > a physical box with only 4G in it. Might show up for people with a > restrictive login class regardless of physical memory. > > http://bugs.java.com/view_bug.do?bug_id=8043516 > https://bugs.openjdk.java.net/browse/JDK-8055515 > http://mail.openjdk.java.net/pipermail/hotspot-runtime-dev/2014-April/011319.html
Thanks Tim for the testing and research into this issue. I'll take a look later at reducing the default CompressedClassSpaceSize. What ulimits were you running with? -Kurt
