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

PoAn Yang commented on KAFKA-18797:
-----------------------------------

I found that testLargeAssignmentAndGroupWithUniformSubscription uses around 2G 
memory, because it creates 1 million partitions. The maximum heap size for 
flaky test is 3G and run test parallelly. It may have chance to get OOM. Since 
the test case doesn't really do assertion, we can probably rewrite it as a jmh 
case.

cc [~chia7712]

 

!Each object memory 
usage.png![^testLargeAssignmentAndGroupWithUniformSubscription.jfr]

> Flaky testLargeAssignmentAndGroupWithUniformSubscription
> --------------------------------------------------------
>
>                 Key: KAFKA-18797
>                 URL: https://issues.apache.org/jira/browse/KAFKA-18797
>             Project: Kafka
>          Issue Type: Test
>          Components: consumer
>            Reporter: Lianet Magrans
>            Priority: Major
>         Attachments: Each object memory usage.png, Java Heap Memory.png, 
> testLargeAssignmentAndGroupWithUniformSubscription.jfr
>
>
> Flaky on trunk for a while (One of the top flaky tests) 
> Flaky with timeouts
> https://develocity.apache.org/scans/tests?search.rootProjectNames=kafka&search.startTimeMax=1739549233243&search.startTimeMin=1737090000000&search.tags=trunk&search.timeZoneId=America%2FToronto&tests.container=org.apache.kafka.clients.consumer.StickyAssignorTest&tests.sortField=FLAKY&tests.test=testLargeAssignmentAndGroupWithUniformSubscription(boolean)%5B1%5D



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

Reply via email to