Stack overflow when stopping application profiler

Mar 6 at 8:07 AM
Hi,
I receive a stack overflow error when stopping the application profiler. The error seem to be originating in the CalcMinMaxRelativeTimeStampMSec recursion.
The process I am trying to profile runs for 28 seconds, and it is parsing an XML file of 20Mb. Without the application profiler it runs fine, but when the application profiler is running, memory usage is increasing exponentially! Any idea on how to fix / address this issue?

Kind regards,
Matthijs