You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
when I run an analysis of a mach-O binary which is more than 100 mb on debian (same result on windows), ghidra crashes around the middle of the analysis (I tested with different mach-O binaries, I think it's because of their size because "small" binaries work well) You can see the log file : logs.txt
line 776 of log file : "./launch.sh: line 217: 15912 Killed"
To Reproduce
Steps to reproduce the behavior:
Add mach-O binary to project
Analyze it
Ghidra crash (only for me maybe idk)
Expected behavior
Complete analyze of the binary without crash
Environment (please complete the following information):
OS: [Debian & Windows]
Java Version: [17.0.10]
Ghidra Version: [11.0.4]
Ghidra Origin: [Official GitHub distro]
The text was updated successfully, but these errors were encountered:
Ok, how can I calculate the memory needed to analyze 100mb mach-O binary ?
It will depend on the specific analyzers that are involved in processing your binary.
You can open a memory usage window in Ghidra from the project window's Help menu. For recent ghidra versions it will be Help|Runtime Info|Memory tab. That will refresh every few seconds, so just leave it up in the background and if the used memory hits the maxmemory value and then you get a crash, its probably memory.
You can also disable individual analyzers before kicking off the analysis session. I'm not familiar with all analyzers, but for example, the DWARF analyzer with extremely large binaries can need a bit of memory.
The name of the currently running analyzer will typically show in the bottom right corner of the tool window where there is a progress bar. (sometimes... sometimes it might not be helpful)
Describe the bug
when I run an analysis of a mach-O binary which is more than 100 mb on debian (same result on windows), ghidra crashes around the middle of the analysis (I tested with different mach-O binaries, I think it's because of their size because "small" binaries work well) You can see the log file :
logs.txt
line 776 of log file : "./launch.sh: line 217: 15912 Killed"
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Complete analyze of the binary without crash
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: