-
Notifications
You must be signed in to change notification settings - Fork 38
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
OutOfMemoryException
when trying to rip small amount of assets from a big game
#30
Comments
Have you tried not to load the whole game, but select and load a certain number of files? |
Almost all of those 30GB are in |
There's definitely a memory leak happening. Trying to open this https://mega.nz/file/9kQjlLyZ#-UYE2fcGA1po-b12h6d7AtnbkoEo0YmW2wdfiESjR0A causes memory usage to spike. It opens fine in Perfare's AssetStudio with the memory usage one would expect from a file this small. Haven't tested in the other net builds, but I'm using the net8 GUI version. |
This is likely a different case. But yeah, it would be nice to fix that someday. |
Oh, rechecked the AssetBundle v5.4.0 structure. |
btw, @SunSerega |
I looked into how this fork does things after writing my comment, and I'm pretty sure it at least also filters assets before loading them. What I'm lacking is it ability to extract and unload assets right after loading, instead of loading all assets at once, before starting to extract them. |
Actually, I was wrong, Razmoth's fork doesn't use >200 MB at any moment - unloading things immediately as they are extracted. And it does so without any maps (I'm still not sure what they are for, that gist didn't explain that to me). Should I close the issue? Or does it still have value to you? |
Glad this helped you. |
I have one huge game with ~30GB of assets, and it seems even my 64GB of RAM is not enough.
I'm getting a bunch of
But, in my case, I'm trying to execute the
-t audio
, and I doubt there will be even 1GB of audio in the assets. What can be done to immediately discard everything that will be filtered out, right after loading a.bundle
file?The text was updated successfully, but these errors were encountered: