Binary Ninja running out of memory during analysis #4683
-
I'm using Binary Ninja 3.5 on MacOS on an M1 Max with 64GB of memory, and I've noticed that during the analysis of a binary, it is causing my system to run out of memory. In Activity Monitor, I see the virtual memory memory usage get up to over 200 GB. I don't want to say the binary in question (you can contact me privately for more details - it's a binary you definitely have access to). Any ideas? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
Assuming this isn't a bug (I'm not qualified to say), my first thought would be to check this setting: Depending on the size of the binary, setting this to a non-default value can result in an explosion in memory usage. |
Beta Was this translation helpful? Give feedback.
-
Shoot us an email binaryninja at vector35 dotcom with a bit more details but I will say we test with a debug chrome and it manages to fit in 64gb and is fairly massive. That said, we can go heavy on memory depending on some other factors. Disabling linear sweep and adjusting several limits and timeouts in the open with options analysis setting can help in general. |
Beta Was this translation helpful? Give feedback.
-
Resolved in development builds >= 3.6.4596 |
Beta Was this translation helpful? Give feedback.
-
This was actually a bug on our end, the same root cause as #3885. As per @0cyn's comment, this should be resolved in builds >= 3.6.4596. |
Beta Was this translation helpful? Give feedback.
This was actually a bug on our end, the same root cause as #3885. As per @0cyn's comment, this should be resolved in builds >= 3.6.4596.