I wasn't sure where to put this, but I wanted to release this for anyone who are encountering memory leak issues with their RPG Maker MV editor.
To put it simply, this is a launcher workaround that disables GPU/OpenGL acceleration for RPG Maker MV editor sessions to avoid editor memory climb/crashes.
I've been using it for a bit now, and my memory usage hasn't peaked above 500 MB for very large projects (testing with 40+ scripts, 200+ maps with many having 100 x 100+ tiles).
To use this, all you have to do is drop the cmd file into the folder where your RPGMV.exe lives. For Steam Users, the original Launch Options edit has been retired for recommendation, as it proved to be woefully unreliable. The only reliable option is to directly launch the cmd file in the attached zip folder after placing it in your folder with the RPGMV.exe file (RPG Maker MV Editor).
=========================================================
Important: You'll need to launch the CMD file as Administrator, as well. Without Administrator privileges, you'll still rack up an unbearably high memory usage, even if Task Manager can't see it.
Important #2: If you save your project around 20-40 times in 1 session, RESTART YOUR RPG MAKER MV EDITOR! I spotted a separate memory leak that my CMD file can't cover. It's tiny, but can easily add up, especially if you haven't used the 4GB Patch.
Note: I've included another CMD file (V2) that might help with curbing the Save-induced memory leak issue. I'm still testing this, so it's still my experimental version, but figured I'd share it, anyway. It'll also launch with an admin-privilege request to give it a little more QoL improvement.
=========================================================
There are a few notes and caveats:
- This is a launcher workaround, not a patch.
- It does not modify RPGMV.exe or project files.
- It may also affect playtest windows launched by the editor.
- CPU usage may increase on some systems.
- GPU-heavy plugins, WebGL/3D effects, lighting systems, or video playback should be tested separately.
- If your editor was already stable, this may not be necessary.
- This was testing for MV only. I don't have MZ, so I have no idea if this will work for that or anything else.
- This was also only tested with an NVidia GPU, as that's all I have. I have no idea what will happen if you have any other GPU.
As long as you have a decent computer, though, you shouldn't really notice any real impact on editor performance, or editor-launched play test performance.
This may not be an all-round fix, but for those who are struggling with frequent crashes from memory leaks, like me, this may be useful.
I also don't know if this was already made prior, so if it was, let me know. I did look for fixes, but nothing really addressed the memory leak, itself. I hope this helps.
To put it simply, this is a launcher workaround that disables GPU/OpenGL acceleration for RPG Maker MV editor sessions to avoid editor memory climb/crashes.
I've been using it for a bit now, and my memory usage hasn't peaked above 500 MB for very large projects (testing with 40+ scripts, 200+ maps with many having 100 x 100+ tiles).
To use this, all you have to do is drop the cmd file into the folder where your RPGMV.exe lives. For Steam Users, the original Launch Options edit has been retired for recommendation, as it proved to be woefully unreliable. The only reliable option is to directly launch the cmd file in the attached zip folder after placing it in your folder with the RPGMV.exe file (RPG Maker MV Editor).
=========================================================
Important: You'll need to launch the CMD file as Administrator, as well. Without Administrator privileges, you'll still rack up an unbearably high memory usage, even if Task Manager can't see it.
Important #2: If you save your project around 20-40 times in 1 session, RESTART YOUR RPG MAKER MV EDITOR! I spotted a separate memory leak that my CMD file can't cover. It's tiny, but can easily add up, especially if you haven't used the 4GB Patch.
Note: I've included another CMD file (V2) that might help with curbing the Save-induced memory leak issue. I'm still testing this, so it's still my experimental version, but figured I'd share it, anyway. It'll also launch with an admin-privilege request to give it a little more QoL improvement.
=========================================================
There are a few notes and caveats:
- This is a launcher workaround, not a patch.
- It does not modify RPGMV.exe or project files.
- It may also affect playtest windows launched by the editor.
- CPU usage may increase on some systems.
- GPU-heavy plugins, WebGL/3D effects, lighting systems, or video playback should be tested separately.
- If your editor was already stable, this may not be necessary.
- This was testing for MV only. I don't have MZ, so I have no idea if this will work for that or anything else.
- This was also only tested with an NVidia GPU, as that's all I have. I have no idea what will happen if you have any other GPU.
As long as you have a decent computer, though, you shouldn't really notice any real impact on editor performance, or editor-launched play test performance.
This may not be an all-round fix, but for those who are struggling with frequent crashes from memory leaks, like me, this may be useful.
I also don't know if this was already made prior, so if it was, let me know. I did look for fixes, but nothing really addressed the memory leak, itself. I hope this helps.