RPG Maker Editor is crashing constantly

This has been an ongoing problem for some time. I was dealing with it by making smaller edits and more frequent saves, and reloading the editor regularly (which seemed to help). But the problem has continued to get worse to the point it's becoming impossible for me to write new events or add to existing ones. I suspect it's some kind of memory leak issue... but that's just a guess.

What happens is after I write a new event or add new commands to an existing one, then attempt to save my progress, the Editor crashes. Sometimes it manages to save my changes. Sometimes it doesn't.

Does anyone know what could be causing this and/or how to fix it? It would be a shame if I had to scrap my project over this because I have a ton of time invested.
which maker and which version of the maker?

RMMV had some problems in very early versions (1.0), but those were fixed with 1.4 or 1.5 at the latest.

Crashes with any current version of the maker would be externally caused, for example by an antivirus with a false positive due to MV using HTML-technologies for local file access.
I've never had a problem with MV closing spontaneously or crash for years, but for the past two weeks it's been crashing at least 2-3 times a day.

I've been trying to figure out where it's coming from, and it coincides with the time when I added quite a few large graphics resources (SV_battlers several thousand pixels wide).

My crashes happen systematically when I scroll in the database at places where these resources are visible (actor/enemies/troops), so I have to slow down and not scroll quickly through the list, otherwise it crashes for sure...
I have the latest version of MV.

I don't know if this could be linked to the same memory leak issue ?
I've seen this happen when people have really long event pages that are thousands of lines long so it wouldn't surprise me if a large image/sound/etc file could also crash the editor.
I don't know if this could be linked to the same memory leak issue ?
That's not a leak, that sounds like trying to load too much into memory at once. Images that size can take up a substantial amount of RAM.

"Memory leak" means that a piece of software is incorrectly not releasing data that it no longer needs, causing it to continuously accumulate over time as it's being used.
That's not a leak, that sounds like trying to load too much into memory at once. Images that size can take up a substantial amount of RAM.

"Memory leak" means that a piece of software is incorrectly not releasing data that it no longer needs, causing it to continuously accumulate over time as it's being used.
Which is exactly what I was going to say.
Which brings up the next question: how much ram does your system have?
Please share system specs.
I'm using RPG Maker MV Version 1.6.1

McAfee as an Antivirus.

My system specs are:

Processor: AMD Ryzen 7 5700 with Radeon Graphics 3.8 GHZ
Installed RAM 32.0 (31.8 usable)
System Type 64-bit operating system, x64-based processor

Windows 11 Home
Version 23H2
where exactly do you store your project?
can you give the full filepath beginning with the drive letter and down to the index.html?

(something like c:\folder\folder\projectfolder\index.html)

how big are the events where you crash when editing them? no need to count the lines, an estimate of "around 100 lines" or "around 1000 lines" or "more than 5000 lines" is enough

what is the size of your project directory in MB or GB?

(just open your project folder whiloe in the editor, go one folder up in the explorer, right-click on the folder and seloect properties. you can read both folderpath and size in the properties)
where exactly do you store your project?
can you give the full filepath beginning with the drive letter and down to the index.html?

(something like c:\folder\folder\projectfolder\index.html)

how big are the events where you crash when editing them? no need to count the lines, an estimate of "around 100 lines" or "around 1000 lines" or "more than 5000 lines" is enough

what is the size of your project directory in MB or GB?

(just open your project folder whiloe in the editor, go one folder up in the explorer, right-click on the folder and seloect properties. you can read both folderpath and size in the properties)

Location: C:\Users\jdr78\Desktop

Size: 7.51 GB (8.070.963.653 bytes)

Size on disk: 7.52 GB (8.082.243.584 bytes)

I used to only have this problem when working on larger events. But now it's crashing constantly even when working on events around 100 lines. It's seems to have gotten progressively worse the larger my project gets.
Just to cover some basics, have you tried uninstalling and reinstalling MV?
Just to cover some basics, have you tried uninstalling and reinstalling MV?

I don't think so. When I get my new PC I just pasted the program over from a flash drive. But it's been so long since I bought RPG Maker MV I can't remember exactly how I downloaded it. I'm pretty sure I downloaded it from this site, but when I went to Products > RPG Maker MV, the only 3 options I could find was to buy it on Komodo Plaza, Buy it on Steam, and Download Free Trial. I didn't see an option for users who have already bought the program and want to download it again. But if you don't mind walking me through the process of downloading it again, I'll definitely give a fresh install a try.

I did some digging and found this thread that sounds very similar to what I've been experiencing and offered a solution:

​

[Finally SOLVED!] RMMV crashes when I apply changes​


=======================================================================
=======================================================================
=======================================================================
=======================================================================

I FOUND THE PROBLEM AND THE SOLUTION!
Please, tell me where should I post the following information to help people having this problem.

The problem:

RPG Maker MV is a 32-bit program, that means it is limited to 2 GB of ram.

1622325243343.png



The program is not really crashing, Windows close it to avoid memory issues.

To avoid this, RMMV has a dumping system, when the RAM reaches 1.99GB it deletes old cache files and everything goes fine, except for 2 cases:

1. When you press the save button, and you are using 1.91GB ram (or more), the saving process consume 100MB more, resulting in 2.01GB and Windows forces the program to close.

2. It seems like the dumping routine runs each 1 or 2 seconds, when you scroll a database fast enough, the ram can go over 2GB before the dumping routine runs also causing Windows to close it.

1622325677991.png



The solution:

There are many programs on internet to turn 32-bit programs into 64-bit programs, after turning them, the program continues looking like a 32-bit program but can use until 4GB ram, enough to let the engine make its dumping routine normally.

I tested this one: https://ntcore.com/?page_id=371

And is working like a charm, no more crashes!

If you need a guide to how to install it and patch the program read this one:

www.maketecheasier.com

How to Increase the Memory Limit for 32-bit Applications in Windows 64-bit OS​

Did you know that 32-bit applications are limited to using only 2GB of RAM? Here we show you how to increase the memory limit for 32-bit applications
www.maketecheasier.com
www.maketecheasier.com

To find where the executable is, on the task manager press right click on the RPG maker process and select "Open file location"

1622326131179.png



I hope this info help people like me, @fluffymonster , @Pots Talos and others having crashes.

=======================================================================
=======================================================================
=======================================================================
=======================================================================

Sadly, when I downloaded the patch and then used it on the RPGMV application (.exe) file it didn't do anything except make it inoperable. So I had to restore it using a back up file. But I thought I would include this thread just in case it contains useful information and/or if anyone might understand why the patch wasn't working for me. My best guess is I might need an updated version for Windows 11 or something.
Is your project actually taking up that much memory? What does it say in the Task Manager when you're running MV?

That's why you've been asked about the sizes of events and pictures and stuff.

That being said, most software is not designed to just be copied between computers and function - you install a program and it puts required files on your computer in places other than the install directory. You should definitely find your purchase information and properly install it.

If you bought it on Steam, it would be in your Steam library. If you bought the standalone here, you'd have the e-mail with your product key and you would've gotten a Steam code with it.
Is your project actually taking up that much memory? What does it say in the Task Manager when you're running MV?

That's why you've been asked about the sizes of events and pictures and stuff.

That being said, most software is not designed to just be copied between computers and function - you install a program and it puts required files on your computer in places other than the install directory. You should definitely find your purchase information and properly install it.

If you bought it on Steam, it would be in your Steam library. If you bought the standalone here, you'd have the e-mail with your product key and you would've gotten a Steam code with it.

After thinking about it, I may be confused and it was just the Project Folder I copied/pasted over from a Flash Drive after I got my new computer. I do remember I had to install a newer version of RPG Maker MV because the older version I was using seemed to be giving me issues with deploying, but I can't remember exactly how I went about it.

I found my Product Key, but I don't think I ever got a Steam Code. I bought RPG Maker MV a long time ago from this site (not Steam). So I'm not sure if it was before they were giving out Steam Codes... or maybe I just don't remember getting one. I searched my email and couldn't find one in there either.

I went to Home > Products > RPG Maker MV; but I don't see any download options other than the free trial. And when I selected that option I kept getting some warning telling me the website wasn't secure and my passwords might get stolen. Maybe I should just buy a new game off Steam? Or is there somewhere else on this site where I can download it and I'm looking in the wrong place? For the record: I'll happily buy a new game if it fixes the problem, because I have many years invested in this project.

My memory doesn't appear to be an issue in my Task Manager while running the editor. I never saw it go above 30%. But since the author of that thread was having similar issues I thought I'd try the patch to see if it helped, since I am running a 32-bit application on a 64-bit system. And I have noticed the game crashes while saving if the amount of MB being used spikes over 1k. But sadly the patch didn't work for me anyway so I have no way of knowing for sure if this is my problem or not.
I found my Product Key, but I don't think I ever got a Steam Code.
the product key IS the steam code, just enter it into steam.
you'll also use that code to turn the trial into the full program, there is no other download.
the product key IS the steam code, just enter it into steam.
you'll also use that code to turn the trial into the full program, there is no other download.

Thanks for clearing that up. Is it safe for me to download because I keep getting this warning every time I click the link?

Forum_Help1a.png
probably - that error message is caused by the name of the website not being the same as the name on the certificate - and that is because Degica is the old name, the company renamed itself about a year ago.

@Touchfuzzy can you correct the certificate problem?

Original thread: https://forums.rpgmakerweb.com/threads/rpg-maker-editor-is-crashing-constantly.173225/