问题
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