[ 
https://issues.apache.org/jira/browse/PHOENIX-6743?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17567844#comment-17567844
 ] 

Istvan Toth commented on PHOENIX-6743:
--------------------------------------

Testing with explicit G1GC and a MaxGCPauseMillis=1000

For reference, HBase currently doesn't set any GC options for test.

According to 
[https://docs.oracle.com/javase/8/docs/technotes/guides/vm/performance-enhancements-7.html]
 , we can also remove UseCompressedOOps, as it's the deafult for heap sizes 
under 32GB.

> Clean up test JVM config for Java 17
> ------------------------------------
>
>                 Key: PHOENIX-6743
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-6743
>             Project: Phoenix
>          Issue Type: Task
>          Components: core
>    Affects Versions: 5.2.0, 5.1.2
>            Reporter: Istvan Toth
>            Assignee: Istvan Toth
>            Priority: Major
>
> The Phoenix test suite fails to run on Java 17, because we're hardcoding a 
> lot of VM/GC options, which are no longer even recognized by Java 17.
> We should find a set of options that work with Java 8 to Java 17.
> What makes this difficult is that the current options seem to be highly tuned 
> so that the tests actually fit the limited Apache Jenkins hosts' memory, and 
> simply removing all the tuning has resulted in many OOMs in the CI build in 
> the past.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to