是否有可用的内存使用情况分析器?

发布于 2024-08-29 08:51:06 字数 313 浏览 6 评论 0原文

对于 XYZ 的时间分析器,我可以只运行“time XYZ”,或者如果我有 C/C++ 源代码,我什至可以使用 gprof 来获取分析结果。

有没有类似的内存使用工具?

  • 有没有什么工具可以使用“内存 XYZ”之类的工具来获取最小/最大/中值内存使用情况等信息?
  • 您使用什么工具对 C++/Objective C/C#/Java 进行内存分析?
  • 我想过定期运行 top 来解析结果,有没有任何工具可以做类似的事情?

我主要使用Mac OS X,但也经常使用Linux和Windows7,所以跨平台会更好。

For time profiler for XYZ, I can just run 'time XYZ', or if I have the source code in C/C++, I even can use gprof to get profiled results.

Is there any similar tool for memory usage?

  • Is there any tool I can use something like 'memory XYZ', to get info such as min/max/median memory usage?
  • What tool do you use for memory profile with C++/Objective C/C#/Java?
  • I thought about running top periodically to parse the results, is there any tool does something similar?

I mainly use Mac OS X, but Linux and Windows7 for regular basis, so cross platform would be better.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

雨夜星沙 2024-09-05 08:51:06

对于 Windows,有 IBM 的 Rational Purify。适用于 Linux 或 Mac 的 Valgrind。

对于 Java,您可以使用 Eclipse TPTP 项目,或者出色的 YourKit 编译器。

For Windows, there is Rational Purify from IBM. Valgrind for Linux or Mac.

For Java you can use the Eclipse TPTP project, or the fabulous YourKit compiler.

森罗 2024-09-05 08:51:06

适用于什么平台?对于linux,有 http://valgrind.org/ (适用于任何本机二进制文件)
对于 java .net 或 mono,有特定于框架的内存分析器

for what platform? for linux there is http://valgrind.org/ (works for any native binary)
for java .net or mono there are framework specific memory profilers

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文