-
Notifications
You must be signed in to change notification settings - Fork 19
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
Histograms stored in samples take too much memory during long runs #67
Comments
Latte collects some data (summaries) in memory and processes them afterwards; so some memory growth is expected. However if it is 10 GB, that's a lot. My first guess would be histograms... |
The root cause is the constantly growing number of stored samples which then get used for the report generation. So, the proper solution, I think, would be to process samples on the go and store only the processed single summary result which gets updated with each sampling step. |
The histograms in the samples are compressed and then stored in the report for future use, e.g. for producing HdrHistogram logs ( As a temporary workaround, you can control the interval at which latte takes samples. For very long runs there is probably no point in capturing them every second. Fewer samples = less memory overhead. |
Fixes pkolaczk#67 (cherry picked from commit 48f3c8e) Upd: - Remove the '--drop-sampling-log' new option. It's role is played by the existing '--generate-report' option which has opposite default value and behavior.
Fixes pkolaczk#67 (cherry picked from commit 48f3c8e) Upd: - Remove the '--drop-sampling-log' new option. It's role is played by the existing '--generate-report' option which has opposite default value and behavior.
Fixes pkolaczk#67 (cherry picked from commit 48f3c8e) Upd: - Remove the '--drop-sampling-log' new option. It's role is played by the existing '--generate-report' option which has opposite default value and behavior.
Fixes pkolaczk#67 (cherry picked from commit 48f3c8e) Upd: - Remove the '--drop-sampling-log' new option. It's role is played by the existing '--generate-report' option which has opposite default value and behavior.
Fixes pkolaczk#67 (cherry picked from commit 48f3c8e) Upd: - Remove the '--drop-sampling-log' new option. It's role is played by the existing '--generate-report' option which has opposite default value and behavior.
Fixes pkolaczk#67 (cherry picked from commit 48f3c8e) Upd: - Remove the '--drop-sampling-log' new option. It's role is played by the existing '--generate-report' option which has opposite default value and behavior.
On the screenshot above we see memory utilization of 2 nodes which are used for running latte.
Memory utilization grew up to 10Gb for 3 hours of uptime on each of the nodes.
Debugged a bit locally and observed that memory leaks happen during each event of sampling.
My observation is that memory utilization is directly related to the made operations during a sampling period.
The text was updated successfully, but these errors were encountered: