What are the challenges you face when working across database platforms? Take the survey
Options

How to figure out why the private bytes is growing

EddieLEddieL Posts: 3
Hi there,

I have been using this excellent tool to try to track down a problem that appears in one of our .NET application. Our application is written in C# but uses a managed C++ .dll that wraps some standard C++ code (an auto generated gSOAP client, if you need all the details). What I have observed is that after a few days or weeks of running smoothly, the number of private bytes start growing, all of a sudden. The memory usage, when the application starts hovers around 58 MB and stays like this for days and weeks. Then it starts to grow and it constantly goes up. With the help of the profiler, I was able to pinpoint the problem on the number of private bytes. The green line is flat for x days and then turns into an inclined plain, climbing higher and higher. Currently, the memory used by this app grew to over 600 MB, when it only started at 58 MB. I read that the private bytes include unmanaged memory. Is there a way I can find out more about that? Idealy would be to know what's the type of the objects that are making up these private bytes.

Any help will be highly appreciated.
Best regards,
Eddie

Comments

Sign In or Register to comment.