OK, I overlooked that one in my first check but I have to agree with
@caethyril
The problem is most likely the preloader plugin, the one that makes your statement
so RAM it's not the problem.
into absolute nonsense.
In case you didnt know:
The primary function of any preloader is to create memory leaks, and that means no one has ever enough RAM whenever a preloader is involved, especially if the developer doesn't know what he/she does with the preloader.
In the regular case, a browser loads files as late as possible, and after that the garbage collector is supposed to remove the file from memory after it is no longer used (that means not accessed for a given amount of time). This has the advantage of keeping RAM as clear as possible, but with the disadvantage of loading delays when a file is needed.
A preloader is used to tell the engine ahead of time "you will need this file later, start loading it so it is available without loading time later - and keep it in memory until it has finished using/until I tell you it is no longer needed"
That costs more RAM than any regular case, especially if the files are loaded too earlier and block their RAM for a time - and especially if the preloader tells the garbage collector to never remove the file.
That is a memory leak by design, and unless the developer knows exactly when to load a file and when to release it AND TELLS the preloader to do so, any unscroupolous use of a preloader will use up any and all RAM any computer has.
So - did you plan the file usage ahead and programmed the engine with the preloader when to remove the files you preloaded?