Game_interpreter line 1411 error with Omega7

This is my first time using scripting, so other than this code it is the normal game code. I put the Omega7 script into the game to be able to export a map, unfortunately I get this error.

HPC3O4x.png


Here is the line of code it is refering to.

RAjjwlJ.png


Here is where i put the code in.

FCDFh9p.png


These to are the event pages implementing the code.

jjsFjmW.png
bBq7l2m.png


And finally here is the reproduced problem.

1UWRsgS.png


If something is wrong with the code I have no idea what is going on. I am wondering if I'm doing to big of a map for this code and if it is this, would someone help me know what to do to get it to work.

I also have the reproduced problem attached in this post here. map test.zip
I'm not 100% sure but I THINK the problem is caused by the fact that classes with an update method will call that method every frame automatically as part of the engine; you're also using an autostart event page to call the same update method every frame, so it's updating twice per frame, and autorun is basically an infinite loop. It's essentially calling that update method way too much.
Those methods are only called every frame because they are called by other classes and ultimately by the SceneManager. I don't see any calls to update in the script, so i don't think that the method will be called automatically.
@Trihan: the script's instruction requires this to be autorun on both pages, it's part of how the script works

@jree101: How big is that map? can you try the script on a smaller map?

The error says that the engine run out of memory to store the picture, so it might be that with a large map, your computer doesn't have enough memory to process that map.

You might try another one of the map saver scripts if it has better processing (Tsukihime also wrote one iirc)
Ah, that's what I get for not checking what the script was actually intended for.
@ Andar: The map size is 500x300. I tried it on a 50x50 map and it did work perfectly. The only other script I have found said it couldn't do large maps, so if you know of ones that can I would love a link to them.

So my map is to large for the script. Is there a way around it? Can I allocate extra memory to the game?
I agree with Andar.  I think your map might be too big.  Based on the screenshots you have given it looks like it is 500x300.  That is huge!

Can you try it on a small default map of 17x13?  Does it crash then?  If it doesn't then you could try just increasing it a bit at a time to find the threshold where it finally breaks.
I took a look at map size and what sizes worked and which ones didn't it's good up to 100x500, but is unable to do 200x500 and 200x400

Original thread: https://forums.rpgmakerweb.com/threads/game_interpreter-line-1411-error-with-omega7.39108/