eclipse 如何在eclipse中查看内存使用情况(初学者)
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/31254187/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How to view memory usage in eclipse (beginner)
提问by chooky1441
I have been working on a game in java using eclipse for a few months now and I have been trying to figure out how to view the memory usage and what is using the most memory. Can anyone please give me a step by step answer on how I would go about doing this? Thank you.
几个月来,我一直在使用 eclipse 开发 Java 游戏,我一直在尝试弄清楚如何查看内存使用情况以及使用最多内存的内容。任何人都可以请给我一个关于我将如何去做的一步一步的回答吗?谢谢你。
回答by Mudassar
In eclipse you can try Window --> Preferences --> General --> "Show heap status" checkbox
在 Eclipse 中,您可以尝试 Window --> Preferences --> General --> "Show heap status" 复选框