Dunno, I have not used either of those. (Had been using zed and ollama, and ollama had plenty of odd defaults that needed fixing)
Glancing through the docs, I would be digging down in the config of both Android studio and lm studio for either a TTL or jit auto evict setting, and if you find it, set it to some large number measured in hours?
I found this one:
https://www.jetbrains.com/help/toolbox-app/remote-agent-time...
But it requires me to reinstall android studio because jetbrains toolbox cannot find it... because I installed ir on D:
On a side note Android studio atill creates hundred of megabutea of hidden stuff on C: