开发者

Flash Builder Profiler runs out of java heap space trying to expand paths to GCRoot

开发者 https://www.devze.com 2023-03-24 16:20 出处:网络
Using Flash Builder 4 on Mac OS X, trying开发者_运维知识库 to debug why it seems our Air app is leaking the objects declared in the MXML files, but if I try to expand the Instance in the Object Refere

Using Flash Builder 4 on Mac OS X, trying开发者_运维知识库 to debug why it seems our Air app is leaking the objects declared in the MXML files, but if I try to expand the Instance in the Object Reference tab of the profiler, it runs for several minutes before throwing a java heap space error.

The heap is already set at -Xmx1024m, setting it to 2048m causes FB to not start at all.


It seems the trick is that you can have either the Allocation Stack or the Path to GCRoot.

Thank you Adobe for inventing the Heisenberg Uncertainty Profiler.

0

精彩评论

暂无评论...
验证码 换一张
取 消