Dev/ida streaming memory#1
Merged
Merged
Conversation
Resolve out-of-memory kills and silent phases when exporting large already-analyzed databases (e.g. PS5 kernel .i64), without ever re-running auto-analysis on an existing database. - Place per-worker IDA database copies on durable on-disk storage (cache root, overridable via TOCODE_WORKER_TMP_DIR) instead of the system temp dir, which is frequently RAM-backed tmpfs; copying a multi-gigabyte database there pinned memory and OOM-killed the export. - Skip the worker copy entirely when a single worker renders by opening the prepared database in place. - Size the auto IDA worker budget from the database size so a huge database does not over-subscribe RAM. - Log "Loading <binary>" before constructing the backend session so the database open/load is no longer a silent gap. - Drop the per-cluster render log that flooded output and broke the progress bar. - Report the metadata phase with a stepped progress bar and copy the published database in chunks with a byte progress bar. - Annotate _resolve_thunk to clear the mypy annotation-unchecked note. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.