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

Fix excessive memory consumption #173

Merged
merged 1 commit into from
Oct 22, 2023
Merged

Fix excessive memory consumption #173

merged 1 commit into from
Oct 22, 2023

Conversation

HanabishiRecca
Copy link
Contributor

@HanabishiRecca HanabishiRecca commented Oct 21, 2023

Read instructions one-by-one instead of keeping the whole disassembled data inside the RAM.
This approach decreases the amount of memory used dramatically, making the app able to process binaries of any size.
As a bonus, it also increases the app performance by about 2-3 times on the hardware I tested.

Closes #90
Closes #2

Read instructions one-by-one instead of keeping the whole disassembled data inside the RAM.
This approach decreases the amount of memory used dramatically, making the app able to process binaries of any size.
As a bonus, it also increases the app performance by about 2-3 times on the hardware I tested.

Closes #90
Closes #2
@HanabishiRecca HanabishiRecca changed the title Fix high memory consumption Fix excessive memory consumption Oct 21, 2023
@HanabishiRecca HanabishiRecca marked this pull request as ready for review October 21, 2023 21:01
@HanabishiRecca HanabishiRecca marked this pull request as draft October 21, 2023 21:19
@HanabishiRecca HanabishiRecca marked this pull request as ready for review October 22, 2023 03:24
@pkgw
Copy link
Owner

pkgw commented Oct 22, 2023

See the discussion in #90 for some notes about different approaches considered in solving this problem.

@pkgw pkgw merged commit 1e0b41a into pkgw:master Oct 22, 2023
7 checks passed
@pkgw
Copy link
Owner

pkgw commented Oct 22, 2023

Released in 0.6.2.

@HanabishiRecca HanabishiRecca deleted the memory-fix branch October 22, 2023 12:31
@HanabishiRecca HanabishiRecca restored the memory-fix branch October 22, 2023 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Excessive memory consumption Problem when running on Archlinux tensorflow-opt-cuda
2 participants