Failed to execute "getImageData" on "CanvasRenderingContext2D": Out of memory at ImageData creation

1000350686.jpg

This problem happened to a friend who was testing the game, it happened after he finished talking to an npc. Does anyone know how to fix it?
Either your friend's computer doesn't have enough RAM to handle your game, or you have a memory leak somewhere in there. From the error it looks like they've ran out of memory when handling the background of a message window, but I doubt that's the actual cause - most likely something else used up most of the memory, and this just happened to be the last straw.
Either your friend's computer doesn't have enough RAM to handle your game, or you have a memory leak somewhere in there. From the error it looks like they've ran out of memory when handling the background of a message window, but I doubt that's the actual cause - most likely something else used up most of the memory, and this just happened to be the last straw.
The number or positioning of plugins has nothing to do with it?
The number or positioning of plugins has nothing to do with it?
I doubt it. I'm not that familiar with them to tell if this is definitely their normal behaviour, but it does look rather normal. Simply the aliases of Window_Message.newPage and related functions firing when they should be. Again, the main cause is most likely elsewhere.
The number or positioning of plugins has nothing to do with it?
unlikely, but specific plugins might contain memory leaks.
Just in the last few weeks several people reported a memory leak in one of Olivia's plugins.

The main engine had its last memory leaks fixed with 1.4 or so, so unless your game uses an older core this memory shortage comes from elsewhjere.
And without knowing details we can't even tell if that "elsewhere" is a plugin or a completely unrelated background program or too low hardware specs or or or...
unlikely, but specific plugins might contain memory leaks.
Just in the last few weeks several people reported a memory leak in one of Olivia's plugins.

The main engine had its last memory leaks fixed with 1.4 or so, so unless your game uses an older core this memory shortage comes from elsewhjere.
And without knowing details we can't even tell if that "elsewhere" is a plugin or a completely unrelated background program or too low hardware specs or or or...
Later I will pass the list of plugins in that case
A really salient piece of logical troubleshooting is - is this bug able to be reproduced?

If it just happened once, it's likely what @Mac15001900 said, your friend's system was bogged down and crashed.

If it happens consistently, then you assume it's a legitimate problem with your game and start trying to narrow down when it happens in the game, under what circumstances, etc.

But there's no point in going through lots of effort for something that might not even exist.

Also...teach your friend how to take a screenshot 😛
A really salient piece of logical troubleshooting is - is this bug able to be reproduced?

If it just happened once, it's likely what @Mac15001900 said, your friend's system was bogged down and crashed.

If it happens consistently, then you assume it's a legitimate problem with your game and start trying to narrow down when it happens in the game, under what circumstances, etc.

But there's no point in going through lots of effort for something that might not even exist.

Also...teach your friend how to take a screenshot 😛
Sorry for the very late response, but yeah it only happened one time

Original thread: https://forums.rpgmakerweb.com/threads/failed-to-execute-getimagedata-on-canvasrenderingcontext2d-out-of-memory-at-imagedata-creation.169258/