Check value of Cache Limit

Hi there!
In community basic plugin and other plugin there's an option to change the default cache limit of 10.
When i use community basic and put it to 50, the Debug_ReportMemory plugin tell me in the console that my cache limit has changed.

But instead of that, how can i check (to be sure) if my cache limit really change? Because i will not use the community basic plugin, but other plugins. Or maybe i just alter the rpg.core code.

Code:
ImageCache.limit = >>>10<<< * 1000 * 1000;
Type in ImageManager._cache.limit (or ImageCache.limit? Cannot look now and my own engine is messing up my memory here);
The cache limit really changes, I experimented with it when I was making some plugin that allowed you to take snapshots and then save them as a parallax under one name.


EDIT: It's actually really ImageCache.limit, a static variable 😀
Then you can, however, look at ImageManager._imageCache._items to see the stored bitmaps.
Wow!! Thanks a lot!! Im always learning with you!! 😉
I export it to my mobile device, so what is the perfect cache limit?
I export it to my mobile device, so what is the perfect cache limit?
It depends a lot on your game. But there are instructions for you not to go above 50mb.

With higher cache, things will load faster when stored. But also uses more memory from the device.
So I guess it's up to you ^^
It depends a lot on your game. But there are instructions for you not to go above 50mb.

With higher cache, things will load faster when stored. But also uses more memory from the device.
So I guess it's up to you ^^

I use community basic plugin, and my game does not exceed 70mb, default cache limit is 10, do you have any advice for me?
EDIT: and I prioritize midrange mobile
I don't know how to explain technically, but if you put it to 30mb it will be ok.
But first, try with the default. If you use a lot of pictures and parallax, try to use 30. Don't know for sure, in my game I have this set by trial and error.
ok thansk

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/check-value-of-cache-limit.105147/