Hitching/Freezing when map transfer

I've noticed very annoying hitching when instant transferring between maps (have not tested with fading but I'd assume it happen still.) What happens is that you'd be able to transfer between a map fine a few times, but at random an annoying hitch/freeze will happen. This can vary from being small (so not that noticeable) to very long (5 - 20 seconds.) This is VERY problematic in my project as it requires many quick transfers between maps.


Any plugins? No none at all, even the default splash plugin is disabled. 


To re-create the bug simply just create two map transfers, set them to instant transfer and to place the character at the same position as the map transfer event in the other map (for each.) Then just quickly transfer between maps, after a few times of transferring (6 - 30 times) you'll notice some very annoying hitching/freezing. 


This doesn't just happen on my pc, as it was more noticeable on a much slower laptop my partner is working in. (The computer I work on is actually really fast) If fixing this ends up making instant transfers slowly overall but more consistent to each other in how long it takes, I'd much rather have that then random freezes. 


I've provided a sample project of just two rooms (differently designed to notice the room transfer) Each room has a portal event which when pressed on transfers you between maps. Alternate between both rooms and you'll notice hitching after a few times (varys from 4 - 6 times to 20 - 30 times.) The length of the hitching also varies from a second to 15 seconds. 


This is a VERY important thing I'd love to see fixed if possible, as it really ruins the pacing of my project at times and will frustrate players. (I mean my friend has experienced a 50 second freeze... at random (as it didn't do that but once every 15 - 30 transfers) )

Download: https://drive.google.com/file/d/0Byf2itAjeKyNRVg5RThTT2VEa1E/view?usp=sharing (filesize too large to upload here)


Thanks
@Anisoft...


This sounds similar to a problem already reported., concerning memory leakage. Maybe you could check the following..?


Assuming that you're running MV on a PC, open the Task Manager, select the 'Details' tab. Play-test the Project, and see how the Memory usage alters when screens change. A small change of a  few Mb, which rises, then reduces, is normal. A constant accumulation of 50 or more Mb per screen update, never reducing, is not.


If this is the case with you Project, it has been reported (see here... 1.3 Memory Leak...).


I have found a temporary work-around in setting up RPGMV.exe to run under Vista compatibility mode (my PC is Win 10, 64-bit...) Not ideal, but at least my Projects no longer crash. Of course, if your situation is different, ignore this.


Hope this helps.
@Anisoft...


This sounds similar to a problem already reported., concerning memory leakage. Maybe you could check the following..?


Assuming that you're running MV on a PC, open the Task Manager, select the 'Details' tab. Play-test the Project, and see how the Memory usage alters when screens change. A small change of a  few Mb, which rises, then reduces, is normal. A constant accumulation of 50 or more Mb per screen update, never reducing, is not.


If this is the case with you Project, it has been reported (see here... 1.3 Memory Leak...).


I have found a temporary work-around in setting up RPGMV.exe to run under Vista compatibility mode (my PC is Win 10, 64-bit...) Not ideal, but at least my Projects no longer crash. Of course, if your situation is different, ignore this.


Hope this helps.



I can confirm that there does seem to be a memory leak, but my issue isn't that it crashes (tho knowing a mem leak does happen is awfully terrible and could cause a crash after extended play) my issue is just the stuttering and occasional freeze for 5-  15 seconds. It could have something to do with the memory leak tho, I'm not entirely sure. 

Original thread: https://forums.rpgmakerweb.com/threads/hitching-freezing-when-map-transfer.67726/