[karate 1.4.1] OOM when load testing with mock for several minutes
brown-kaew opened this issue · comments
Hello, according to : #2448
I have tried reproduce OOM on 1.4.1 and it still occurs
Versions:
java 11
karate 1.4.1
Repo to reproduce: https://github.com/brown-kaew/try-karate-mock/tree/test-leak-1.4.1
Steps:
Start mock ./local_startup.sh
Start load test ./load_test.sh
VisualVm: https://github.com/brown-kaew/try-karate-mock/blob/test-leak-1.4.1/logs/1.4.1/Screenshot%202567-03-11%20at%2014.47.24.png
OOM log: https://github.com/brown-kaew/try-karate-mock/blob/test-leak-1.4.1/logs/1.4.1/nohup.log
@brown-kaew I'm considering this low priority because it never has been reported by anyone else. also 1.5.0.RC3 is what we consider the latest available version. thanks a lot for the research, it would be great if you can also suggest a fix and perhaps contribute a PR
@ptrthomas It is the first PR I have created, if there is anything wrong please kindly advise.
@brown-kaew much appreciated ! the PR and fix looks good. thanks for your work on this.
@ptrthomas Thank you.
1.5.0 released