Does anyone know what's causing this bug just by looking at the error message and/or the lines of code specified? This is a rare bug that occurs only once every couple of hours or so (5-10 hours) so I can't replicate it easily. Therefore, removing plug-ins one by one and playing until I eventually get or do not get the bug is not possible. If anyone has an immediate or practical solution, please let me know. Thanks.
[Solved] Help with a rare bug
RPG Maker MV SupportDid you actually read the error message? It says you are out of memory.
Play the game without making any changes, and with your task manager open at the Performance tab with Memory highlighted. Is your memory usage gradually creeping up the longer you play?
Some of the earlier versions did have memory leaks, and it's possible that one or more of your plugins have memory leaks as well.
I know there are debugging tools that will monitor your game for a while and let you know where these are happening, but I've never used them, so could not provide any guidance there.
Play the game without making any changes, and with your task manager open at the Performance tab with Memory highlighted. Is your memory usage gradually creeping up the longer you play?
Some of the earlier versions did have memory leaks, and it's possible that one or more of your plugins have memory leaks as well.
I know there are debugging tools that will monitor your game for a while and let you know where these are happening, but I've never used them, so could not provide any guidance there.
I see that plug-in myself. I can't do this because of what I specified in my request. The bug is very rare and appears randomly once every 5-10 hours of gameplay. Or if it is triggered by a certain situation, I don't know what that situation is.
Please reread my post. I had not read the full error message before I made that suggestion. I read it again after, and changed my post before you replied.
Ah. That must be it. I have 10 apps and around 20 tabs open in my browser. My memory is currently at 80% without the game running. My memory probably hit 100% when the game ran. This must have been what caused the bug. Thanks for your help, I think this is just an issue on my end. Will mark this as solved now. However, if anyone reading this thread does have a solution to memory outage due to RMMV, please let me know.
Thanks, Shaz. Have a great day.
(Also, I did read the error message many times. I think I just missed it or didn't process those exact words.)
I usually just read the first half of the error message until I recognize it as something I've seen before, then start looking through the following lines to see what plugins turn up. So I only noticed the "out of memory" message on my second read 🙂
Thread closed
Thread closed
Original thread: https://forums.rpgmakerweb.com/threads/solved-help-with-a-rare-bug.134170/