Performance issues when running Android Studio Profiler: The IDE is running low on memory

笑着哭i 提交于 2020-12-13 04:05:13

问题


When running Android Studio Profiler I get this message at the bottom after generating two or three "heap dumps":

 The IDE is running low on memory and this might affect performance. Please consider increasing available heap.

My PC runs really slow after getting this message even after stopping the profiler and the only option to restore performance is restarting Android Studio.

Why is this happening? Is there any other way to restore the performance after generating a heap dump on a project?


回答1:


Performance is improved after setting 'IDE Max Heap size' from 1280 MB(Default) to 2048 MB:

File --> Settings --> Appearance & Behavior --> System Settings --> Memory Settings



来源:https://stackoverflow.com/questions/61847110/performance-issues-when-running-android-studio-profiler-the-ide-is-running-low

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!