[ https://issues.apache.org/jira/browse/PIG-5454?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Koji Noguchi updated PIG-5454: ------------------------------ Attachment: pig-5454-v01.patch This was not as simple as I hoped for. I was incorrectly assuming that when multiple GCs are specified, jvm will pick the last one. Instead, jvm fails to start with bq. Conflicting collector combinations in option list; please refer to the release notes for the combinations allowed Here, attaching a patch that looks at the specified options and only adds "-XX:+UseParallelGC" when other GC is not specified. > Make ParallelGC the default Garbage Collection > ---------------------------------------------- > > Key: PIG-5454 > URL: https://issues.apache.org/jira/browse/PIG-5454 > Project: Pig > Issue Type: Bug > Components: impl > Reporter: Koji Noguchi > Assignee: Koji Noguchi > Priority: Major > Attachments: pig-5454-v01.patch > > > From JDK9 and beyond, G1GC became the default GC. > I've seen our users hitting OOM after migrating to recent jdk and the issue > going away after reverting back to ParallelGC. > Maybe the GC behavior assumed by SelfSpillBag does not work with G1GC. -- This message was sent by Atlassian Jira (v8.20.10#820010)