当运行Android Studio Profiler时,在生成两三个“堆转储”后,我在底部得到以下消息:
The IDE is running low on memory and this might affect performance. Please consider increasing available heap.
收到此消息后,我的PC运行速度非常慢,即使在停止分析器之后也是如此,恢复性能的唯一选择是重新启动Android Studio。
为什么会发生这种情况?在项目上生成堆转储后,有没有其他方法来恢复性能?
发布于 2020-05-19 04:43:45
将“IDE最大堆大小”从1280 MB(默认值)设置为2048 MB后,性能得到了提高:
文件-->设置-->外观和行为-->系统设置-->内存设置
https://stackoverflow.com/questions/61847110
复制相似问题