MV Preloader Crashing: Alternatives?

So, using a preloader on my game causes crashes in my exported game at the start of battles and when many images need loaded at once. Are there any good alternatives to preloaders or maybe a preloader that is better than the others?
Sounds to me you may be preloading too much. MV by default is a 32bit exe. Preloading stuff above 4gb ram will inevitably crash your game. (Open task manager during the preload scene to check).

Otherwise, I'm using this one.
Sounds to me you may be preloading too much. MV by default is a 32bit exe. Preloading stuff above 4gb ram will inevitably crash your game. (Open task manager during the preload scene to check).

Otherwise, I'm using this one.
I'm trying to understand how something I'm loading could have RAM at all? I'm confused. If you mean too many files, I get that. I just wish I knew what parameters to stay between.
using a preloader on my game causes crashes in my exported game
whose preloader and where are you exporting?
is that exported game loading already-existing saves made before the preloader was added?
why does it crash only in battle? .... *does* it crash *only* in battle, or is that the idea you get after trying the available options you can work with?

the doctor doesn't prescribe meds without knowing what's hurting you.... programming isn't much different.
whose preloader and where are you exporting?
is that exported game loading already-existing saves made before the preloader was added?
why does it crash only in battle? .... *does* it crash *only* in battle, or is that the idea you get after trying the available options you can work with?

the doctor doesn't prescribe meds without knowing what's hurting you.... programming isn't much different.
SRD Preloader, exporting to Windows, the game crashes occasionally mostly while loading battles, then again at the end of my game when many images are loaded for an animated scene.
Moved to: Plugin Support

Wasn't sure whether to move this to plugin requests. Why don't you post the error message here (screenshot from console when the crash happens) so people can help you troubleshoot and fix the issue? You don't know that another preloader isn't going to do exactly the same thing, and at some point in your game you're going to run out of alternative options and will have to figure out the problem and fix it.
I'm trying to understand how something I'm loading could have RAM at all? I'm confused
This statement is indicative to me that you may not be fully aware what a preloader does and what consequences this has.

Computers have two types of memory. RAM, which is fast to access but expensive to manufacture and requires constant energy supply and the hard drive, which is all the opposites. Hence computers store all their data on the hard drive. Once a process actually needs to work with a file though, the computer automatically loads it from the hard drive into RAM. This is so the process is not slowed down by the access speed. However if this happens often and/or the files are particularily large, the process may instead be slowed down by the loading of the file to the RAM.

Preloader plugins aim to solve this specific problem by giving the developer the ability to load files to the RAM, before they are actually needed. This way when the process does need them they see the file already in RAM and can instantly start processing it. However of course this means that the file is held in RAM as long as the preloader tells it to. This is may impact a whole host of things. Foremost you may run into the 4GB RAM limit for your application that @SGHarlekin mentioned. Because the computer can no longer determine itself which files it can throw out of the RAM again to have more space for new files it needs.
I'm not familiar with SRD's preloader, but I've made one myself, and I was quick to notice it needs it's own routine for marking things for garbage collection.
it's not simply "unload what's not in use anymore"... you have to tell the preloader that you're keeping "this" bunch of things, put "that" bunch of things up for GC, run the GC, and on top of it load the new things from disk.
can someone confirm if SRD's preloader does that exactly or just overwrites things as it loads?
because it might be trying to load a file onto a topped off RAM.
Galv_ImageCache is a nice one, you just load stuff when you need it too.
the only downside of it, it doesn't clear it which would be nice when you
leave the map or on transfer so the new map that have preload stuff can
be used directly by than (unless held in the parameter to always use them).

but that is the best one I know off, SRD load everything, I dont know about
Synec_Preloader though, but if it has the same as SRD, the result might be
the same as well.

someone had it altered to clear the cache somehow, but I have no clue.
but it's one of the finest in my opinion.
This statement is indicative to me that you may not be fully aware what a preloader does and what consequences this has.

Computers have two types of memory. RAM, which is fast to access but expensive to manufacture and requires constant energy supply and the hard drive, which is all the opposites. Hence computers store all their data on the hard drive. Once a process actually needs to work with a file though, the computer automatically loads it from the hard drive into RAM. This is so the process is not slowed down by the access speed. However if this happens often and/or the files are particularily large, the process may instead be slowed down by the loading of the file to the RAM.

Preloader plugins aim to solve this specific problem by giving the developer the ability to load files to the RAM, before they are actually needed. This way when the process does need them they see the file already in RAM and can instantly start processing it. However of course this means that the file is held in RAM as long as the preloader tells it to. This is may impact a whole host of things. Foremost you may run into the 4GB RAM limit for your application that @SGHarlekin mentioned. Because the computer can no longer determine itself which files it can throw out of the RAM again to have more space for new files it needs.
Thank you for helping me to better understand how the preloader works.

Galv_ImageCache is a nice one, you just load stuff when you need it too.
the only downside of it, it doesn't clear it which would be nice when you
leave the map or on transfer so the new map that have preload stuff can
be used directly by than (unless held in the parameter to always use them).

but that is the best one I know off, SRD load everything, I dont know about
Synec_Preloader though, but if it has the same as SRD, the result might be
the same as well.

someone had it altered to clear the cache somehow, but I have no clue.
but it's one of the finest in my opinion.
I've heard good things about Galv's imagecache. I will try it out.
SRD preloader is pretty busted from what I gathered. I have not encountered issues with Synrec's preloader, though it did need a little edit to work with a splash screen plugin I'm using (Essentially the splash screen plugin would go to the scene_title, skipping over the scene_preload.)

Aside from that, most preloaders seems finicky to handle. Some produce memory leaks, some straight up don't work. There's a whole host of issues with them. For one, yanfly seems to mess with the bitmaps in battles, resulting in pixelated images when used with a preloader. Really all kinds of stuff.

Original thread: https://forums.rpgmakerweb.com/threads/preloader-crashing-alternatives.157355/