Ticket Created
over 3 years ago

CIQQA-1035

Lots of hangs in the 4.1.1 simulator with the Memory view open

If I open the memory view, the simulator hangs for several seconds, every few seconds. It's pretty much unusable. Works fine in 4.0.10

Parents
  • I've spent some time trying to figure out what it is about my app thats causing the problem, and discovered that if I rip out all of the settings/properties and associated strings, things get much better. I can open the memory window, and cpu usage "only" goes up to around 80%, instead of maxing out and becoming unresponsive. If I then "expand all", it hits 100%, and starts hanging again; but prior to those changes, I didn't need the expand all step.

    So I tried taking all those resources, and just adding them to the SimpleDataField sample. Without those changes, cpu sits at around 30% with no memory window, 40% with the memory window open, and 50% with expand all. After adding my resources, it hits 75% when I open the memory window, and starts hanging when I do expand all.

    Here's the patch I applied to SimpleDataField: gist.github.com/.../eacfbbb5b519b2d5be8e37fde5bcb0ad

Comment
  • I've spent some time trying to figure out what it is about my app thats causing the problem, and discovered that if I rip out all of the settings/properties and associated strings, things get much better. I can open the memory window, and cpu usage "only" goes up to around 80%, instead of maxing out and becoming unresponsive. If I then "expand all", it hits 100%, and starts hanging again; but prior to those changes, I didn't need the expand all step.

    So I tried taking all those resources, and just adding them to the SimpleDataField sample. Without those changes, cpu sits at around 30% with no memory window, 40% with the memory window open, and 50% with expand all. After adding my resources, it hits 75% when I open the memory window, and starts hanging when I do expand all.

    Here's the patch I applied to SimpleDataField: gist.github.com/.../eacfbbb5b519b2d5be8e37fde5bcb0ad

Children
No Data