Fully featured low overhead profiler for Java EE and Java SE platforms.
Ultimate profiling and monitoring solution for Gradle, Maven, Ant, JUnit and TestNG.
Easy to use performance and memory profiler for .NET framework.

[64-bit] Host app crashes during creation of memory snapshot

Moderators: Vladimir Kondratyev, Anton Katilin

[64-bit] Host app crashes during creation of memory snapshot

Postby matt » Wed Sep 09, 2009 10:04 am

Hello,

We're developing a fairly large .NET application and (try/fail to) use Yourkit for heap profiling purposes.

The problem we're facing is that while a heap snapshot is being created, at some point the application will just crash during this process (I think at around 60..80% of the snapshot creation progress). The heap snapshot creation will obviously also be aborted.

I took a look at the dying process, with the VS2008 debugger, and from the call stack it would appear as though the problem is with the Yourkit profiler agent.

I should point out that this is happening ONLY when profiling the 64-bit version of our application, and this is NOT happening with the 32-bit version.

Do you have any idea why creating a heap snapshot might fail. The size of the heap snapshot files varies but is usually between 100..200MB. Is this too large although in that case I'd expect problems with the 32-bit app and probably not with the 64-bit app.

We're using 4.5.1 although the problem was also observed with 4.0. With 3.0.8 we're able to create the snapshots but are unable to load them which is of no use either...

For your help I thank you very much in advance! Please note that this is a blocker for us and currently, none of the 5 licenses we purchased are of any use, due to this (running the 32-bit version of our app is not an option, due to other constraints).

Regards
Matt
matt
 
Posts: 2
Joined: Wed Sep 09, 2009 9:47 am

Re: [64-bit] Host app crashes during creation of memory snapshot

Postby Anton Katilin » Wed Sep 09, 2009 10:49 am

Hello Matt

Could you please send profiler logs ( <user home>/.ynp/logs ) to support@yourkit.com

Best regards,
Anton
Anton Katilin
 
Posts: 5575
Joined: Wed Aug 11, 2004 8:37 am

Re: [64-bit] Host app crashes during creation of memory snapshot

Postby Anton Katilin » Wed Sep 09, 2009 12:09 pm

We've received your logs, and have answered via email.
Anton Katilin
 
Posts: 5575
Joined: Wed Aug 11, 2004 8:37 am

Re: [64-bit] Host app crashes during creation of memory snapshot

Postby matt » Wed Sep 09, 2009 12:20 pm

Thank you! Lets use e-mail to drive the solution to this issue and then we can report the final outcome here so that it'll be visible to the community.

Thanks again
Matt
matt
 
Posts: 2
Joined: Wed Sep 09, 2009 9:47 am

Re: [64-bit] Host app crashes during creation of memory snapshot

Postby Anton Katilin » Wed Sep 09, 2009 12:38 pm

I understand.

I've notified you in the forum just to make sure you are informed that you should have received answer by email. If you have not received it so far, please check your spam filters.
Anton Katilin
 
Posts: 5575
Joined: Wed Aug 11, 2004 8:37 am

Re: [64-bit] Host app crashes during creation of memory snapshot

Postby Anton Katilin » Thu Sep 10, 2009 9:12 am

This issue is solved in 4.5.2 which is available for download at
http://www.yourkit.com/dotnet/download/
Anton Katilin
 
Posts: 5575
Joined: Wed Aug 11, 2004 8:37 am


Return to .NET Profiler

Who is online

Users browsing this forum: No registered users and 5 guests