RPG Maker MV game uses way too much memory

I once had this problem too. Just about 15 to 20 minutes and RAM was skyrocketting. I figured out that SRD's Game Upgrade plugin caused this so i tried to take it out and everything was fine again. So i'm sure some certain plugins cause your problem.
What's the total file size of the files you're preloading?
What's the total file size of the files you're preloading?

I wanted to preload everything, my game's like 410 megabytes in size only.

I once had this problem too. Just about 15 to 20 minutes and RAM was skyrocketting. I figured out that SRD's Game Upgrade plugin caused this so i tried to take it out and everything was fine again. So i'm sure some certain plugins cause your problem.

But it's required for several other plugins.


Over 4GB usage again.
But it's required for several other plugins.
I know. But other plugins also mean nothing if you can't play the game smoothly.
I know. But other plugins also mean nothing if you can't play the game smoothly.

I don't think I can remove that plugin right now.


Will it still cause memory leaks if I put Garbage collection as manual and literally never use it?

EDIT:

To fix your point a bit though... Don't worry, nothing bad happens from RAM overload except for the fact that the Windows will keep crashing that game to free up some RAM.

I justs now realized you said that. Your game crashing is QUITE BAD. It's literally one of the things your game should NEVER do.
I'm not telling you to remove it, but just try to turn it and all other related plugins off and see if it is actually the problem. I did ask SRD about this, but he hasn't replied my comment on his site yet.
This is a common problem with "Global" preloader. When they're charged, your system starts to have memory leak.
I'm agree with @Poryg that the best way is on making a manual preloading of each features working with PIXI, maybe map per map.
Some months ago I was experimenting a Preloader using JS Promises using a system similar to the ImagePrecache of SRD, but that is cleared each map. This way, It can be pre-loaded all the stuff you need for that map, without charging to much the cache.
I don't think I can remove that plugin right now.


Will it still cause memory leaks if I put Garbage collection as manual and literally never use it?
IF you had read my posts you would know that if you change that option to "On scene change" it helps reducing memory usage(My game went from 600 to a bit less than 500, what means almost 20% less memory use after a long time)

And also would know about a script that when used ingame clears the image cache(wich is a function that came in 1.3 http://yanfly.moe/2016/08/10/rpg-maker-mv-v1-3-0-is-out/ ) allowing GC to unload them some time after.

But yea, it seems that i'm a ghost here, why keep trying? At least I improved my game after wasting time researching trying to help.
IF you had read my posts you would know that if you change that option to "On scene change" it helps reducing memory usage(My game went from 600 to a bit less than 500, what means almost 20% less memory use after a long time)

And also would know about a script that when used ingame clears the image cache(wich is a function that came in 1.3 http://yanfly.moe/2016/08/10/rpg-maker-mv-v1-3-0-is-out/ ) allowing GC to unload them some time after.

But yea, it seems that i'm a ghost here, why keep trying? At least I improved my game after wasting time researching trying to help.

I already have community basic plugin in my game, it doesn't change the thing if you're talking about that.

Also instead of posting a new post, you edited that first reply when topic was like two pages already, I didn't even see it. :rswt2:

Original thread: https://forums.rpgmakerweb.com/threads/rpg-maker-mv-game-uses-way-too-much-memory.87751/