-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
High memory usage #3269
Comments
Hi @schurmann, Does your request return a big response body? |
The target is a single static URL and there is no response body. In this example I don't use any tags either so the cardinality is minimal. |
Thanks for sharing, then the high usage should be related to the usage of the Trend stats with Prometheus remote write output. The Trend stats under the hood are using the same concepts as the Summary, so they are affected by the issue of the comment you've reported. Prometheus remote write output doesn't take into account Do you have a specific requirement for using the Trend stats instead of the Native histograms? It would reduce a lot of the memory usage for long-running test using the Prometheus remote write output. Of course, you've to keep using the |
Brief summary
I'm evaluating K6 as a load testing framework and it looks really promising. However, the high memory usage is one of the things holding me back when running a
soak test
. The memory usage is almost monotonically increasing during the test and will eventually be too much. I'm following the recommendations with no--no-summary --no-thresholds
and using prometheus as an--out
sink.k6 version
0.45
OS
Amazon Linux (EKS)
Docker version and image (if applicable)
grafana/k6:0.45.0
Steps to reproduce the problem
K6 parameters:
Expected behaviour
I expect the memory to not keep increasing since the metrics should be flushed every minute.
Actual behaviour
The text was updated successfully, but these errors were encountered: