Call-Tree invisible
Uwe Keim
Posts: 48 Bronze 3
Sometimes, when the profiler should display the call-tree
"Summarizing results" and the green wheel is being displayed. Then the wheel disappears and the graph should be displayed, but is not.
When I switch to grid view and then back to tree, it appears.
Maybe I must wait longer? But when the progress is gone, I expect the result to appear.
"Summarizing results" and the green wheel is being displayed. Then the wheel disappears and the graph should be displayed, but is not.
When I switch to grid view and then back to tree, it appears.
Maybe I must wait longer? But when the progress is gone, I expect the result to appear.
Comments
Does this bug occur every time? What type of application are you profiling?
Red Gate Software
I am profiling a Windows Forms 2.0 application (this one, to be precise).
I did experience this behaviour this week for the first time, maybe it was present previously, too, but I did not recognize it.
It does appear in 4.1, too, to which I upgraded today.
Red Gate Software
When I try to create my own project it says 'Project created succesfully', but then gives me 'Object reference not set to an instance of an object', and doesn't open the project I just created.
Red Gate Software
Do you use Windows Vista?
You have an English (en-GB) system?
Red Gate Software
(and thanks for your support, I really appreciate!)
Red Gate Software
Will change my code immediately.
Both are caused by the same issue. Your program has more complex stacktraces than most programs - largely due to use of XML and Regexes. Consequently, when ANTS Profiler tries to draw the call tree of your stack traces, it quickly runs out of memory.
We will try to resolve this by trying improving the memory efficiency of ANTS Profiler. In the meantime, I can suggest the following:
1. Profile in 'Only methods with source (fastest)' mode. This uses only a fraction of the memory used by other modes.
2. Try using a x64 machine. Since ANTS Profiler will run as x64, there are no limits on its memory usage.
Red Gate Software
Any suggestion on how to improve Zeta Test (which is currently Beta, of course) to lower the stack traces?
Best regards
Uwe
To reduce the complexity of the Regex calls, it might be worth trying to use RegexOptions.Compiled, if you do not do so already. This will probably give you a speed increase, and reduce the complexity of stacktraces.
Red Gate Software