Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OOM when load testing for several minutes #2448

Closed
brown-kaew opened this issue Nov 17, 2023 · 2 comments
Closed

OOM when load testing for several minutes #2448

brown-kaew opened this issue Nov 17, 2023 · 2 comments

Comments

@brown-kaew
Copy link
Contributor

brown-kaew commented Nov 17, 2023

I have used Karate standalone jar to mock API for 1hr load testing. but there is an OOM error after several minutes, so I try to reproduce/run on local and monitor with VisualVm it seems that the heap trend to be increased and OOM at the end.

Versions
java 1.8
karate 1.1.0

Repo to reproduce: https://github.com/brown-kaew/try-karate-mock
Steps:

  1. Start mock ./local_startup.sh
  2. Start load test ./load_test.sh

VisualVm https://github.com/brown-kaew/try-karate-mock/blob/main/monitor.png
OOM log https://github.com/brown-kaew/try-karate-mock/blob/main/oom.log

@ptrthomas
Copy link
Member

@brown-kaew we don't support old versions at all so please confirm that this is an issue for karate 1.4.1 and update the sample

@ptrthomas
Copy link
Member

closing because of no response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants