AdamSakuru

[Null_Value]
Veteran
Joined
Mar 14, 2014
Messages
314
Reaction score
173
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,228
Reaction score
11,138
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 Profile Posts

random doodles from yesterday. Thoughts?

characters-10000.png
Oh error that I cannot pin point and that does not consistently occur. You have caused me to start from... the beginning.
gCcZIwO.gif

Expressions! Curse GIFs color limitation.
Collecting Stream thumbnails, don't mind me. :kaopride:



now you can smash up cars on the street lol...

Forum statistics

Threads
129,901
Messages
1,206,114
Members
171,085
Latest member
Zero94
Top