Status
Not open for further replies.

The MM

Villager
Member
Joined
Feb 28, 2016
Messages
21
Reaction score
4
First Language
French
Primarily Uses
I just went to pay a glance. Dark grass and forests, plus the B-layer mountains on my world map seem to have the problem.


I back this up.
 

brandos

Veteran
Veteran
Joined
May 25, 2013
Messages
147
Reaction score
31
First Language
German
Primarily Uses
Here's the project I created for this bug if someone is interested in seeing the memory leak:  https://mega.nz/#!zYtwSCAZ!RuzTMpbXkSGIKcCYICheKsv3jZqZ01wdvh6DI_xaUz8


While you click on the characters to travel through six map watch the game.exe go from 400 mb to 1,1 gb within seconds and never going back to 400 mb because the engine simply doesn't clean parallax maps.


Before 1.3 we at least had  ImageManager.cache.clear(); which decreased the game.exe back to its origin size of ram usage but of course it is not working anymore with 1.3 or 1.3.1 
 

Isaac The Red

RedMage
Veteran
Joined
Jan 3, 2016
Messages
210
Reaction score
129
First Language
Gibberish
Primarily Uses
RMMZ
Here's the project I created for this bug if someone is interested in seeing the memory leak:  https://mega.nz/#!zYtwSCAZ!RuzTMpbXkSGIKcCYICheKsv3jZqZ01wdvh6DI_xaUz8


While you click on the characters to travel through six map watch the game.exe go from 400 mb to 1,1 gb within seconds and never going back to 400 mb because the engine simply doesn't clean parallax maps.


Before 1.3 we at least had  ImageManager.cache.clear(); which decreased the game.exe back to its origin size of ram usage but of course it is not working anymore with 1.3 or 1.3.1 

WHY is this project 500+ MB? Strip the project down to the BARE essentials to demonstrate the memory leak. 

I also have the same problem concerning the blending. For exemple, water plants appear with a with contour.

Yea I've seen this, definitely a confirmed bug.
 

brandos

Veteran
Veteran
Joined
May 25, 2013
Messages
147
Reaction score
31
First Language
German
Primarily Uses
WHY is this project 500+ MB? Strip the project down to the BARE essentials to demonstrate the memory leak. 


Yea I've seen this, definitely a confirmed bug.



For a more dramatic effect, as long this memory leak exists games that feature multiple parallax layers per map are not possible and to be honest I won't stop asking for a fix until memory leak is the first word that appears when you google rpg maker mv. ^^
 

Isaac The Red

RedMage
Veteran
Joined
Jan 3, 2016
Messages
210
Reaction score
129
First Language
Gibberish
Primarily Uses
RMMZ
For a more dramatic effect, as long this memory leak exists games that feature multiple parallax layers per map are not possible and to be honest I won't stop asking for a fix until memory leak is the first word that appears when you google rpg maker mv. ^^

OK I get it, you wan't the bug fixed, I support fixing bugs 100% what I don't support is people blatantly ignoring procedures to get themselves seen. Archeia has given us a bug reporting template. Dramatic effect is pointless. I love helping fellow RM devs with their projects, but I'm not willing to fill my HDD up by downloading every one of their half gig projects full of most of the same resources that I already have on my compouter and can EASILY push into the folders needed. Can EASILY strip a project down to under 90 MBs including only your custom images and just have a note to put the RTP stuff in to make the project work. It's not rocket science.
 

Kaliya

// Caffeine Overload
Developer
Joined
Nov 1, 2015
Messages
506
Reaction score
567
First Language
English
Primarily Uses
RMMV
OK I get it, you wan't the bug fixed, I support fixing bugs 100% what I don't support is people blatantly ignoring procedures to get themselves seen. Archeia has given us a bug reporting template. Dramatic effect is pointless. I love helping fellow RM devs with their projects, but I'm not willing to fill my HDD up by downloading every one of their half gig projects full of most of the same resources that I already have on my compouter and can EASILY push into the folders needed. Can EASILY strip a project down to under 90 MBs including only your custom images and just have a note to put the RTP stuff in to make the project work. It's not rocket science.

I wouldn't bother anyway, he has 6 50mb Parallax images. That is the reason it is so large, and that is ridiculously unoptimized and unreasonable.
 

brandos

Veteran
Veteran
Joined
May 25, 2013
Messages
147
Reaction score
31
First Language
German
Primarily Uses
I'm pointing out to this bug for months, i've paid people so they would try to fix it and meanwhile I have the feeling that this is something which can't be fixed and tries to be ignored by the developers. Best part is how I got a fix for it but 1.3 made it no longer working. ^^


@Ralph



The problem also appears with smaller parallax maps below 2048
 

Isaac The Red

RedMage
Veteran
Joined
Jan 3, 2016
Messages
210
Reaction score
129
First Language
Gibberish
Primarily Uses
RMMZ
I wouldn't bother anyway, he has 6 50mb Parallax images. That is the reason it is so large, and that is ridiculously unoptimized and unreasonable.

I think I just turned into a basic White Girl, because I cant even...
 

brandos

Veteran
Veteran
Joined
May 25, 2013
Messages
147
Reaction score
31
First Language
German
Primarily Uses
I wouldn't bother anyway, he has 6 50mb Parallax images. That is the reason it is so large, and that is ridiculously unoptimized and unreasonable.



ridiculously unoptimized and unreasonable is when you create an engine but forget to add proper cleaning of the cache
 

Crimson Dragon Inc.

Crimson Dragon
Veteran
Joined
Aug 8, 2012
Messages
921
Reaction score
134
First Language
english
Primarily Uses
RMMV
D: all my plugin settings got removed and replaced with some splash screen plug in.....and i followed the instructions completely
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
33,325
Reaction score
8,383
First Language
German
Primarily Uses
RMMV
ridiculously unoptimized and unreasonable is when you create an engine but forget to add proper cleaning of the cache

there is nothing forgotten - the problem here is that cache management isn't as easy as you make it sound, and using unoptimized ridicilously large images only increases the problems that can't be avoided. make your maps smaller and send your parallaxes through image optimizers, then talk again.
 

Isaac The Red

RedMage
Veteran
Joined
Jan 3, 2016
Messages
210
Reaction score
129
First Language
Gibberish
Primarily Uses
RMMZ
D: all my plugin settings got removed and replaced with some splash screen plug in.....and i followed the instructions completely

You were not supposed to copy over the plugin.js file, that file is the one that had all your plugin settings D:

ridiculously unoptimized and unreasonable is when you create an engine but forget to add proper cleaning of the cache

If the bug can be shown with smaller paralax, why not just use one of the included RTP paralax? Be reasonable with the community and it will be reasonable with you.
 

Kaliya

// Caffeine Overload
Developer
Joined
Nov 1, 2015
Messages
506
Reaction score
567
First Language
English
Primarily Uses
RMMV
ridiculously unoptimized and unreasonable is when you create an engine but forget to add proper cleaning of the cache

I didn't create the engine :') I was hired to fix the issues, with the editor mind you. Me fixing issues with the actual core JS files is just something I do out of the kindness of my heart. You aren't wrong in that MV is not fully optimized, but we are working on it. You are being unreasonable and expecting a $70 engine to solve all the problems for you, when the only reason it is getting continued support and updates anyway is because of us. Otherwise JPN would not be doing it. You are being unreasonable in that no developer in their right mind, even AAA developers would use a 50mb 5k image, or multiple on the same map even, for a parallax.  You are being unreasonable by actively harassing the developers into fixing a bug they are well aware of, that isn't necessarily just their fault (NodeJS is at fault too). I would appreciate it if you let us do our jobs in peace and when we get to the complicated process that is adding a proper cache system, you will be the first to know.
 

Dalph

Nega Ralph™ (RM Tyrant)
Veteran
Joined
Jul 15, 2013
Messages
7,776
Reaction score
19,752
First Language
Italian Curses
Primarily Uses
RMMZ
I knew it.

5f7.jpeg



Just for your information, the memory is stable at 25% to me (like it should be) after resizing your images at 2048x1365.
 

brandos

Veteran
Veteran
Joined
May 25, 2013
Messages
147
Reaction score
31
First Language
German
Primarily Uses
there is nothing forgotten - the problem here is that cache management isn't as easy as you make it sound, and using unoptimized ridicilously large images only increases the problems that can't be avoided. make your maps smaller and send your parallaxes through image optimizers, then talk again.



Actually it took only one page of coding to have a fluid gameplay experience  With this script game.exe goes back to it's original size after 10 map transitions, the perfect solution but 1.3 made it no longer working because people decided to change stuff for no reason.

Code:
/*:
* @param Save File Index
* @desc The temporary index of the save file pre-saved and preloaded per transfer.
* @default 1
*/

var mapTransferredCounts = 0;

var params = PluginManager.parameters('X_MapSaveFix');
var saveFileIndex = Number(params['Save File Index']);

var x_sceneMap_update = Scene_Map.prototype.update;
Scene_Map.prototype.update = function() {
    x_sceneMap_update.call(this);
    if (mapTransferredCounts >= 10) {
	    $gameSystem.onBeforeSave();
	    if (DataManager.saveGame(saveFileIndex)) {
	    	mapTransferredCounts = 0;
	    	StorageManager.cleanBackup(saveFileIndex);

	    	this.reloadMapIfUpdated();
	    	$gameSystem.onAfterLoad();
	    	SceneManager.goto(Scene_Map);
	    	ImageManager.clear();
	    }

    }
};

Scene_Map.prototype.reloadMapIfUpdated = function() {
    if ($gameSystem.versionId() !== $dataSystem.versionId) {
        $gamePlayer.reserveTransfer($gameMap.mapId(), $gamePlayer.x, $gamePlayer.y);
        $gamePlayer.requestMapReload();
    }
};

var x_gameInterpreter_command201 = Game_Interpreter.prototype.command201;
Game_Interpreter.prototype.command201 = function() {
	mapTransferredCounts += 1;
    x_gameInterpreter_command201.call(this);
};
 

Isaac The Red

RedMage
Veteran
Joined
Jan 3, 2016
Messages
210
Reaction score
129
First Language
Gibberish
Primarily Uses
RMMZ
Anyways, Thank you Liquidize and your fellow Devs have been doing awesome. <3 random runnaway bugs aside I'm glad we have a dedicated group working on the engine.
 

Writers_Block

Villager
Member
Joined
Dec 8, 2015
Messages
5
Reaction score
0
First Language
English
Self switches appear to no longer work after this update, anyone else experiencing this?
 

Isaac The Red

RedMage
Veteran
Joined
Jan 3, 2016
Messages
210
Reaction score
129
First Language
Gibberish
Primarily Uses
RMMZ
Oh, man, oh why....?

18vt7b.jpg



Note: open spoiler at own risk.

In fairness testing with small paralaxes also has a memory leak, but at least with manageable filesizes its not rediculusly insane as it is with 50mb paralaxes. lol

Self switches appear to no longer work after this update, anyone else experiencing this?

Not having that bug myself, double checked. 
 
Status
Not open for further replies.

Latest Threads

Latest Posts

Latest Profile Posts

Have spent too much time hammering out with a friend just how to make a reoccurring enemy that permanently learns skills you use against her.
I know what I want in a loose sense. Maybe I should just make a post asking for opinions and suggestions.
Shoot Enemy Off-Screen, Run RPG Maker Game as a Web Server, & Thai Keyboard | RPG Maker News #109

Some people have too strong of an opinion about what maker is the best, I've seen discussions like:
- I prefer VXAce because I like the style of the RTP better than the older releases
- You're worse than Hitler
My number one take away from this game jam is to make small games that are as polished and bug free as possible. Far less dev time, and if the game flops, it matters less because my time investment is much lower. Also, whatever ambitions I have... aim for about 10% of them. They are clearly too high, and will involve stuff that likely won't matter.

Forum statistics

Threads
113,732
Messages
1,077,019
Members
147,760
Latest member
anitalains
Top