AdamSakuru

[Null_Value]
Veteran
Joined
Mar 14, 2014
Messages
314
Reaction score
172
First Language
English
Primarily Uses
N/A
Code:
Object.keys(ImageManager.cache._inner)
So I'm aware you can put this into the log to show every image being cached. But is there a way to check the total memory usage?
 

Poryg

Dark Lord of the Castle of Javascreeps
Veteran
Joined
Mar 23, 2017
Messages
4,159
Reaction score
10,751
First Language
Czech
Primarily Uses
RMMV
If you're asking about individual images or about just images, not really. Javascript is a high level language and doesn't have any native access to computer components whatsoever.
For the whole process it's
Code:
console.log (process.memoryUsage());
 

Latest Threads

Latest Posts

Latest Profile Posts

OcRam MZ and RETRO demo -projects are now also updated (includes all plugins released yesterday).
At work.
Co: "This bug drove me insane. I tried a lot of things to debug, it just stuck".
Me: "How did you debug it?"
Co: *shows a complicated debugging method using breakpoints and everything*
Me: "What about ... " *casually prints a stack trace in the try/catch exception
Co: "Wait, you can do that??"
Totally original and unique OC
Harold.png
So after completing the Mass Effect Trilogy the first time as a Vanguard, I decided to replay the trilogy as a Soldier. Thus far, I've just finished the Horizon mission in ME2, and I'm already exhausted from ME2's f**k-awful enemy design.
If you are in these ices, I will give all the fire...

Forum statistics

Threads
118,659
Messages
1,117,612
Members
155,759
Latest member
papay
Top