How to decrease explicitly allocated heap size in android studio <p>I increased my heap size to 2gb in android studio according to the official android documentation <a href="https://developer.android.com/studio/intro/studio-config.html" rel="nofollow">https://developer.android.com/studio/intro/studio-config.html</a> but after this I can't open my android studio.I think my system can't allocate that much memory to it due to low memory in C drive.Now I want to decrease the size again but I cannot find any solution for this?</p>