Clear graphics cache with script call

Is there a simple script call that clears the cache/ram?
I've look around and someone said a simple script call of "cache.clear" will do it - but that gives me a crash. Do I put "$cache.clear"?
And then I found this forum, but the formatting of the rgss is all funky in one of the replies and it doesn't work when I import it.
Cache.clear
with the first C as a capital letter
As Shaz wrote in the thread you mentioned, the command is
Code:
Cache.clear

EDIT: ninjed by Theo
Is there a simple script call that clears the cache/ram?
I've look around and someone said a simple script call of "cache.clear" will do it - but that gives me a crash. Do I put "$cache.clear"?
And then I found this forum, but the formatting of the rgss is all funky in one of the replies and it doesn't work when I import it.
Wow I was looking for something like this thanks!
Cache.clear
with the first C as a capital letter
Omg. Capital C.
I've been struggling with this for a week. *head smack*
Thank you so much!

Original thread: https://forums.rpgmakerweb.com/threads/clear-graphics-cache-with-script-call.110539/