-
Notifications
You must be signed in to change notification settings - Fork 11.3k
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
perf2bolt: huge RAM consumption #61711
Comments
@llvm/issue-subscribers-bolt |
Could you try |
@maksfb yes, it reduces memory usage significantly. Didn't hear about this option before... Is it somehow related to the "lightweight" BOLT approach (I have read about it recently in the latest Propeller paper)? |
In a nutshell, yes. In some, relatively rare cases, |
@maksfb could you please mention this information somewhere in the BOLT' README file? Probably something like "if you want to reduce memory consumption during BOLT optimization - you could try to use -strict=0 option". Also, could be useful to put this info into It would users in the future quicker resolve possible issues. Thanks! |
How big is your perf.data? I already had a discussion in the llvm discord about that issue and according them is not that much profile data (e.G 2GB or more) not required. This would also fix your issue without disabling strict and lite. |
236 Mib. If you need, I can share this file - if it could help for debugging purposes. |
Hi!
I am trying to optimize YDB database (https://github.com/ydb-platform/ydb) with Bolt. I have run YDB binary (
ydbd
) withperf record
, then I want to convert it to Bolt format withperf2bolt
. Unfortunately,perf2bolt
uses more than 30 Gib RAM and is OOM killed since I have only 32 Gib RAM.Is there a way to reduce memory usage?
My setup:
A related issue in YDB upstream: ydb-platform/ydb#140
The text was updated successfully, but these errors were encountered: