Skip to content
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

retdec-fileinfo runs for a minute and uses 110 GB of RAM to analyze a 41 MB PE file #907

Closed
s3rvac opened this issue Dec 13, 2020 · 1 comment · Fixed by #908
Closed

Comments

@s3rvac
Copy link
Member

s3rvac commented Dec 13, 2020

retdec-fileinfo uses 110 GB of RAM to analyze a 41 MB PE file.

Steps to reproduce

On Linux, run

$ /usr/bin/time -v retdec-fileinfo FILE

where FILE is FE015EB24B7EEA2907698A6D7142198644A757066DA4EB8D3A4B63900008CF5E.

Expected output

The file is analyzed in a reasonable time and using a reasonable amount of memory.

Actual output

$ /usr/bin/time -v retdec-fileinfo FILE
[..]
        User time (seconds): 61.19
[..]
        Maximum resident set size (kbytes): 116301540

That is, retdec-fileinfo ran for over a minute and used around 110 GB of memory during the analysis.

Configuration

  • Commit: 37dbfd1 (current master)
  • 64b Debian Buster, GCC 9, Debug build of RetDec
@s3rvac
Copy link
Member Author

s3rvac commented Jan 6, 2021

Possibly related issue: #911.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants