You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/07/12 10:02:00 UTC

[GitHub] [pulsar] codelipenghui opened a new pull request, #16542: [fix][test] Fix jvm oom on Unit Test broker group 1

codelipenghui opened a new pull request, #16542:
URL: https://github.com/apache/pulsar/pull/16542

   ### Motivation
   
   Fix the failed CI of broker group 1
   
   The root cause is the JVM gets OOM during the test.
   
   <img width="1527" alt="image" src="https://user-images.githubusercontent.com/12592133/178464698-2ade5af2-37e5-449a-bb2f-7aa053bd640b.png">
   
   <img width="1548" alt="image" src="https://user-images.githubusercontent.com/12592133/178464790-9a4e7242-807a-401e-829e-ce5a3e837c2f.png">
   
   
   The root cause is we are using a mock executor for test `testMultiTopicsConsumerCloses` which will introduce 100000 messages in the test. But the mocked executor will intercept all the tasks and add them to a LinkedList, during the test the Messages are not able to be gc.
   
   ### Modifications
   
   Use a normal PulsarClient for test `testMultiTopicsConsumerCloses`
   
   ### Documentation
   
   Check the box below or label this PR directly.
   
   Need to update docs? 
   
   - [ ] `doc-required` 
   (Your PR needs to update docs and you will update later)
     
   - [x] `doc-not-needed` 
   (Please explain why)
     
   - [ ] `doc` 
   (Your PR contains doc changes)
   
   - [ ] `doc-complete`
   (Docs have been already added)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] codelipenghui merged pull request #16542: [fix][test] Fix jvm oom on Unit Test broker group 1

Posted by GitBox <gi...@apache.org>.
codelipenghui merged PR #16542:
URL: https://github.com/apache/pulsar/pull/16542


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] codelipenghui commented on pull request #16542: [fix][test] Fix jvm oom on Unit Test broker group 1

Posted by GitBox <gi...@apache.org>.
codelipenghui commented on PR #16542:
URL: https://github.com/apache/pulsar/pull/16542#issuecomment-1181655767

   /pulsarbot run-failure-checks


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org