What version of the engine was this project made in?
Fully updated steam version, 1.3.4
Still helps to have it, as your new project isn't the same as everyone else's (due to the way the updates work, as well as the lack of RTP this time around). So yes, please post it.
Though, does it only occur if you open/close the menu many times in a row? That's actually pretty normal, as the garbage collection only runs every few minutes (as I understand it anyways). And if you think about it, who is going to open and close the menu say 30 times in one minute anyways in a game?
Yes it is ~10 times in a row when it doubles memory used. Good to know that garbage collection only runs every few minutes. Seems to be that is what is occurring.
The problem with garbage collection is that that function can only guess at what is garbage and what not, and running it too often might get some data deleted while it is still in use - then you'll get bug reports on vanishing pictures before the erase command is used (as an example) or crashes of undefined variables not because they were never defined, but because garbage collection deleted them too early.
In a way it would have been better to enforce strict data handling (like it was done in Pascal for example). However, that would also have forced all programmers to work more careful and really learn what they're doing, and that would have kept up the prices for any program. But because now things like garbage collectors work behind programmers who simply don't know how to clean up for themselves (to take care of their own garbage so to speak), we get programs that are a lot cheaper to develop but also need a lot more reserves in memory.
But that is not a real memory leak - those are errors in memory management that are caused by the same loose programming styles, but are not exactly bugs but data segments that were forgotten to declare as garbage, so they never get removed from memory at all.
Is there a way to manually dispose unused memory?
I understand that progamming can be difficult and programmers should put attencion to memory and garbage collector. But the root poblem is than profesional programmers who have created the proyect rpg maker mv havent able to resolve the problem with memory. It doesnt depend if you are a good programmer or not, it is problem of the proyect rpg maker MV. When you create a game from 0 without plugins and paralax maps, it has problem with memory, and it is easily tested. And what i cant understand is like sell a proyect where you can create a game for mobile, when it is imposible. A simple project in mobile from 0 without plugins and paralaxe maps, it crash due to memory after 20 minutes more or less. When they find the solution (because its their problem, that they dont cheat you, its clear), then it will be a great programme, until now i am very dissapointed with my purchase.
@Andar, I dont crash the game with artificial situation, i crash the game playind during 20 minutes in a mobile with proyect from 0 very very very basic, I have tried it a lot, with different mobiles because i thought the problem was mine, but it isnt like that, i have written in many occassions to stuff rpg maker and they have answer me nothing, they will study my bug report. Anybody has been able to create a game for mobile yet due to this resason, It is real, sorry, i dont want spread rumors it is a reality. I felt cheated because i cant create my game for mobile, i dont want it for pc. If someone could demostrate the contrary please send us it, but i know it isnt posible.
@Andar, what happens me is very simple, the error reproduce while i am playing, anytime that i go to the menu, or i go to other map, o i go to a battle or i speak with someone, the memory go increase until the game crash and exit. It not only happens me, everybody. Could you say me some game rpg created with rpg maker mv for
mobile? Only one, please
It isn't hundreds of time. I just open the menu 15 times in a row and it goes up to memory usages of 2 gb