-
Notifications
You must be signed in to change notification settings - Fork 670
Memory Leak #78
Comments
You are right, every second, htop shows that citra adds 1mb without doing anything. We'll have to check if this is an issue from the last original nightly. citra-memory-leak.mp4For the moment the only game with this issue is pokemon x and y, others like animal crossing, smash, pokemon moon or ruby doesn't have it. |
From my trace it looks like leak is coming from NeAACDecInit, will post more of what I can find when I get a chance . |
That's very useful info, thank you! :D |
Not sure about older copies, but the final binaries of both can be found on archive.org. Edit: Actually, if you know the build number of an older build that you want, you might be able to get it off of web.archive.org too. That's how I managed to find a copy of r1800. So for nightlies, try inputting https://github.com/citra-emu/citra-nightly/releases/tag/nightly-XXXX (or for canaries, https://github.com/citra-emu/citra-canary/releases/tag/canary-XXXX) where XXXX is the build number into web.archive.org and look at different date snapshots; you just might get lucky. |
Just adding that these are all the nightlies that the Wayback Machine managed to archive (note that they're not in numerical order): https://web.archive.org/web//https://github.com/citra-emu/citra-nightly/releases/download |
Thank you! |
i dont have that problem |
Sorry! I don't know programming, forgive me and disregard if I'm wrong. I tested without the audio and the memory leak continues for me.
|
I am still seeing the leak in software mode but chances are I could be monitoring the wrong thing |
Seeing this leak on memory constrained ARM devices running Linux, as well. |
Is there an existing issue for this?
Affected Build(s)
Latest release
Description of Issue
When playing, the emulator has a small memory leak (about 1MB per second), which becomes an issue when in long sessions (for example, streaming). Tested in Pokemon Y 1.0 and Pokemon X 1.5. Latest release, latest Citra and latest Lime release build all present this issue.
Attached log uses vulkan renderer, though the issue is still present when using OpenGL. This is happening on Linux. I haven't tested on Windows. Log goes up to 1GB before closing the emu.
Expected Behavior
Emu's RAM not consuming my entire PC.
Reproduction Steps
Literally just opening a game and letting it run without doing anything else.
Though in the attached log, I play a battle, then run around for a bit, then I just sit idle.
Log File
citra_log.txt
System Configuration
CPU: AMD Ryzen 5 7600 (12) @ 5.170GHz
GPU/Driver: AMD 7600XT
RAM: 32GB DDR5
OS: Arch Linux
The text was updated successfully, but these errors were encountered: