Open knocknarea opened 1 year ago
@knocknarea The rootfs is actually a tmpfs. However I am not sure this will work. Let me think a bit more about this. (As a workaround you can of course switch back to another GC like G1)
Thank you @axelfontaine for looking into it. I can keep going with the G1 for now, but ideally I'd like to leverage the latest and greatest
Hello @axelfontaine
I am seeing this when trying to start our application using upgrade to JDK17 and hopefully using the Z Garbage Collector
It looks like the AMI produced by cloudcaptain does not have any tmpfs configured for the ZGC to use.
According to this fix, JDK now automatically looks in: /dev/shm and /run/shm (in that order) for tmpfs
JVM Args are:
JDK version is set as:
So I suppose the question, is there a tmpfs created? and if so, what path is is created on so that I may configure -XX:AllocateHeapAt to point at it. Any help on this would be greatly appreciated as I am on the clock on this one.