MV shutting down

Hello, guys.


I've been looking for some time now for a answer, But I can't seem to find it. I'm having this issue with just a few maps only. Sometimes it works, mostly it doesn't.


Basicaly it's this, if you enter any kind of menu and then exit, the game suddenly crashes.


Even if I disable or erase all of my plugins, it still crashes. My parallax works with a few images, but mostly of them results in crashing. 
If I don't use any parallax, it won't crash,


Most of my parallax images have 30-50MB  each. I've tried different resolutions and sizes and it's actually pretty random if it will work or not.


For instance, I have a 35mb image that works just fine. And another 35mb image that crashes whenever I exit the menu.


I'm being as direct as possible. I'm sorry for that, english is not my first language.


Thank you for reading!

what.png
I don't have an answer, but what in the hell size are your images that they're 30-50mb?
Lol. It's really hard to say why.  Maybe because of my own ground textures.


One of them is a 4360x3304 size image.


Inside the maker, I'm using 91 width and 69 height.


Well... I like bigger maps, lol.
While I understand the liking of bigger maps, and parallax mapping, if you're going to run images that big, I highly suggest setting up some sort of system that will split the images into smaller bits, loaded when necessary. Perhaps a parallel process that uses absolute value to determine player distance from an event that will draw new picture/unload old pictures? Much more efficient for ram usage.
That might be good, yes. For optimization.


But I don't think that RAM is causing the issue, since I have 16GB RAM...
Might not matter, honestly. If MV isn't 64-bit (which I suspect it isn't, as it works on 32-bit as well as 64-bit), it will only support up to 4gb of ram. I don't know how the program uses the memory, but.. Meh, it's irrelevant. Anyway!


According to some Googling, this isn't an RPG Maker problem, it's a Pixi.js problem. I believe pixi is the graphical portion of the engine, if I'm mistaken, someone please point that out. From what I'm seeing, the error is in one of your vertex shaders. Some links for you:


Stack Overflow
HTML5 GameDevs

I hope that this information helps point you, or someone else, in the right direction!
I also suspect it is a Pixi.js problem. But if that's so, I'm not sure how much can I edit or update it without violating anything.
And if it is a Pixi.js problem, other people might also have this problem in the future.


 
Do you think it is a overflow problem? Even with a 4GB RAM , loading and updating a 30mb image shouldn't be a problem... Right?



I must say I have already tried to restart the project, but the problem still persists.


What is really pissing me off is that sometimes it works, and sometimes it doesn't. Even in the same map.

Edit: According to Windows, RpgMakerMV is a 32bit program.
It's definetly the parallaxes. And yes, strangely they're using too much ram. I think it's an overflow problem. According to the task manager, it continues to stack the ram usage after every menu exiting. Once it stacks up to 95% of ram usage, the game crashes.
This should fix it, then. It's a known bug that they aren't planning on fixing because they're replacing Pixi in a future update (if I'm remembering correctly).
Right, supposedly they are going to update the version of pixi in version 1.3 of MV. Unfortunately there is no ETA for a release of it yet, so you might have to just use smaller maps until the updated release if Zserv's fix doesn't work.
Thank you guys! I can't say it worked, but I can say it helped.


Some of the maps have stopped to crash. But the largest has not. I've done some stress testings, and I've come to the following conclusion:



It doesn't matter how many events are on the map, unless it is a ridiculous amount of events.
The largest map (50mb) crashes if there is more than 2 actors in the party.
The others crash if there is more than 4.


Before that plugin, it would've crashed even if there were only one actor.

Original thread: https://forums.rpgmakerweb.com/threads/mv-shutting-down.64443/