473,698 Members | 2,097 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Memory Debugging

I just made a web app and there's some memory leak in the code. I can't use
the VS.NET debugger for this. I would like to be able to see what's going on
in the memory. What is the best memory debugging program?

Aaron
Nov 16 '05 #1
5 4905
Hi Aaron,

The best tool is the Allocation Profiler to debug managed
memory allocations. You can obtain on
www.sysinternals.com. You have several diagrams in this
app, so please note that the Allocation Graph (which is
the most interesting one) shows allocations, not leaks,
so it will not show you the memory that you not freed up.

To identify leaks, please run you app from the Allocation
Profiler (AP), then when you feel that you have a leak,
click on the "Show heap now" button on the AP. This will
show you the heap: what kind of objects you have on the
heap and which module allocated them. You can see the
GC's contents also from another views.

Good luck,
David
-----Original Message-----
I just made a web app and there's some memory leak in the code. I can't usethe VS.NET debugger for this. I would like to be able to see what's going onin the memory. What is the best memory debugging program?

Aaron
.

Nov 16 '05 #2
I can't seem to find this "Allocation Profiler", can you give me direct
link?

Thanks
Aaron

"David Szabo" <v-******@microsof t.com> wrote in message
news:f8******** *************** *****@phx.gbl.. .
Hi Aaron,

The best tool is the Allocation Profiler to debug managed
memory allocations. You can obtain on
www.sysinternals.com. You have several diagrams in this
app, so please note that the Allocation Graph (which is
the most interesting one) shows allocations, not leaks,
so it will not show you the memory that you not freed up.

To identify leaks, please run you app from the Allocation
Profiler (AP), then when you feel that you have a leak,
click on the "Show heap now" button on the AP. This will
show you the heap: what kind of objects you have on the
heap and which module allocated them. You can see the
GC's contents also from another views.

Good luck,
David
-----Original Message-----
I just made a web app and there's some memory leak in

the code. I can't use
the VS.NET debugger for this. I would like to be able to

see what's going on
in the memory. What is the best memory debugging program?

Aaron
.

Nov 16 '05 #3
Hi,

Our .NET Memory Profiler is designed to help you find memory leak and
optimize memory usage in .NET applications.
You can download a trial version at http://www.scitech.se/memprofiler

Best regards,

Andreas Suurkuusk
SciTech Software AB

"Aaron" <ku*****@yahoo. com> skrev i meddelandet
news:O3******** ******@TK2MSFTN GP09.phx.gbl...
I just made a web app and there's some memory leak in the code. I can't use the VS.NET debugger for this. I would like to be able to see what's going on in the memory. What is the best memory debugging program?

Aaron

Nov 16 '05 #4
Hi Andreas,

The trial download gives me a 186KB long msi file.
David
-----Original Message-----
Hi,

Our .NET Memory Profiler is designed to help you find memory leak andoptimize memory usage in .NET applications.
You can download a trial version at http://www.scitech.se/memprofiler
Best regards,

Andreas Suurkuusk
SciTech Software AB

"Aaron" <ku*****@yahoo. com> skrev i meddelandet
news:O3******* *******@TK2MSFT NGP09.phx.gbl.. .
I just made a web app and there's some memory leak in the code. I can't
use
the VS.NET debugger for this. I would like to be able
to see what's goingon
in the memory. What is the best memory debugging

program?
Aaron

.

Nov 16 '05 #5
Hi,

I don't know why you didn't get the complete msi file, but I have
temporarily added it to another site:

http://www.thermometric.se/memprofil...2Installer.msi

Hope this works better.

Best regards,

Andreas Suurkuusk
SciTech Software AB
"David Szabo (MS)" <an*******@disc ussions.microso ft.com> skrev i meddelandet
news:10******** *************** ******@phx.gbl. ..
Hi Andreas,

The trial download gives me a 186KB long msi file.
David
-----Original Message-----
Hi,

Our .NET Memory Profiler is designed to help you find

memory leak and
optimize memory usage in .NET applications.
You can download a trial version at

http://www.scitech.se/memprofiler

Best regards,

Andreas Suurkuusk
SciTech Software AB

"Aaron" <ku*****@yahoo. com> skrev i meddelandet
news:O3******* *******@TK2MSFT NGP09.phx.gbl.. .
I just made a web app and there's some memory leak in the code. I can't
use
the VS.NET debugger for this. I would like to be able

to see what's going
on
in the memory. What is the best memory debugging

program?
Aaron

.

Nov 16 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2319
by: Spur | last post by:
Hi all, I implemented a memory allocation/deallocation class that logs all new/delete calls (overloaded) and remembers for each allocated block where it was allocated from (using a macro that passes __FILE__ and __LINE__). On destruction, it reports all undeleted blocks (memory leaks). The class is implemented in a separate .h/.cpp pair, and should be linked to
3
1680
by: John Black | last post by:
Hi, In debugging a core dump, I run purify against my code, it says several "Free Memory Read" errors. All the errors are on one delete statement. Usually this means some pointer is deleted by non-owner. But it is really hard to locate the error code. The code structure is like this: class BigClass{ // this is from somebody else code ......
2
1545
by: liangrf | last post by:
My server app is transformed from environment of UNIX to Windows. Its ran on the Apache Windows Server. The code is compiled pass by MSVC6 and ran well. but it has more memory leak. when I am debugging the code with windbg, insertting mang break, and step by step running code, the app do not appare memory leak at all. I am confused. if the app run without debugging, then the memory would increse by watching task manager. I think...
18
2252
by: Ramasubbu Ramasubramanian XR (AS/EAB) | last post by:
What is memory leakage, could any one explain with sample code
1
1174
by: Welman Jordan | last post by:
When I debug an asp.net application, which would consume a considerable amount of memory, the application throws "unhandled exception" and delivers a 500 error page to the browser. I find that the memory allocated by that application is unable to reclaim. For example, I create a DataSet object, the application quits with a exception during debugging, the memory the DataSet consumes will not be returned to the system, buried within the...
13
2682
by: kolmogolov | last post by:
/* Hi, I have removed things irrelevant to reproducing the problem. What's wrong with my code? Thanks in advance for any hint! 1166425362 */ #include <stdio.h> #include <stdlib.h> #include <string.h>
2
2721
by: abhijeet28 | last post by:
Hi friends i have some problem . I am doing project with vb,net 3.0 . I am getting a run time exception , I am getting a messge window mentioning that "out of memory". this message box have three button DETAILS , CONTINUE , QUITE when details button click then i am getting folowinf message. See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.
13
2850
by: Ilias Lazaridis | last post by:
How to detect memory leaks of python programms, which run in an environment like this: * Suse Linux 9.3 * Apache * mod_python The problem occoured after some updates on the infrastructure. It's most possibly caused by trac and it's dependencies, but several components of the OS where updated, too.
22
9340
by: Peter | last post by:
I am using VS2008. I have a Windows Service application which creates Crystal Reports. This is a multi theaded application which can run several reports at one time. My problem - there is a memory leak someplace. I can not detect the memory leak by running several reports by hand, but when I run tha app as a servrice and process few hundred reports there is significant memory leak. The application can consume over 1GB of memory where it...
33
2875
by: fmassei | last post by:
Hello! I made a short piece of code that I find very useful for debugging, and I wanted to ask you if it is correct, somehow acceptable or if I simply reinvented the wheel. To deal with some bad bugs caused by memory leaks I ended up with this simple solution: I made one header file that, when included, replaces the malloc/calloc/realloc/free functions with some other functions that do the actual job and insert (or remove) the pointers to...
1
8895
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8861
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7725
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6518
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4369
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4619
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3046
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2329
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2001
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.