更好的 Flex 内存分析工具

发布于 2024-08-16 05:45:53 字数 321 浏览 3 评论 0原文

有谁知道还有比 Flex Builder Profiler 更好的工具吗?我用谷歌搜索了又谷歌搜索没有结果。

虽然 FB 工具适用于小型应用程序/小泄漏情况,但它们远远不足以涉足大规模 Flex 应用程序(严重泄漏内存)中可能出现的对象引用丛林。特别是,任何相当复杂的视图结构最终都会有大量对顶级视图的父/子对象引用 - 其中没有一个与从父视图外部查找一两个引用完全相关导致整个推注不可 GC 的子子图。

如果没有人有更好的建议,我正在认真考虑编写一个工具来解析 Flex Builder 可以生成的保存的配置文件转储,以便我可以进行自己的“图形修剪”来查找重要的参考。如果我走这条路,欢迎合作!

Does anyone know of any better tools that the Flex Builder Profiler? I've googled and googled to no avail.

While the FB tools are OK for small apps / small leak situations, they're nowhere near adequate for wading through the thicket of object references that can arise in a large scale Flex app (that is leaking memory heavily). In particular, any reasonably complex view structure ends up with huge numbers of parent/child object references to the top level view - none of which are at all relevant to finding the one or two refs from outside the parent child subgraph that are causing the whole bolus to be non-GC'able.

If no one has any better suggestions, I'm seriously considering writing a tool to parse the saved profile dumps that Flex Builder can generate so that I can do my own "graph pruning" to find the important refs. If I go this route, collaboration would be welcome!

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

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

发布评论

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

评论(4

壹場煙雨 2024-08-23 05:45:53

我喜欢你的DIY态度。我也找不到任何 Profiler 替代品,但是 这里有一篇文章 Adob​​e Training from the Source 一书的作者之一对我帮助很大。我建议对此处概述的编码建议进行现场审查。 HTH。

更新:De MonsterDebugger 还具有内存监视器功能。

I like your DIY attitude. I couldn't find any Profiler alternatives either, but here's an article that helped me a lot by one of the authors of the Adobe Training from the Source book. I'd suggest doing spot reviews on the coding suggestions outlined here. HTH.

UPDATE: De MonsterDebugger also has a memory monitor feature.

绝影如岚 2024-08-23 05:45:53

Powerflasher 的 FDT IDE 有一个复杂的分析工具。

Powerflasher's FDT IDE has an elaborate profiling tool.

冰葑 2024-08-23 05:45:53

看看这个:

http://www.bytearray.org/?p=3151

好东西正在发生:)

Check this out:

http://www.bytearray.org/?p=3151

Good things are happening :)

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