473,320 Members | 1,814 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

heap monitoring tool

I'm searching for a heap monitoring tool, 'cause I have a heap crash
in my software (c++). It occurs only after some days running my
program. The crash happens by allocating string-buffers deep in the
mfc.

Any ideas where i can find such tool?

Steffen
Jul 22 '05 #1
3 2490
Steffen wrote:
I'm searching for a heap monitoring tool, 'cause I have a heap crash
in my software (c++). It occurs only after some days running my
program. The crash happens by allocating string-buffers deep in the
mfc.

Any ideas where i can find such tool?


There are several commercial ones and I know one free. Which one to
get depends on your OS and the amount of money you're prepared to
spend. The best way to find out which is the best value is to ask
in a newsgroup for your OS, since those things are very OS-specific.

V
Jul 22 '05 #2
If you are using MFC you can use the microsoft heap checking
functions, such as afxCheckMemory(). Stick this in strategic
places where suspect heap corruption is happening. (typically you'd
put this into an ASSERT() macro to crash your program when a heap
error happens). I've used this
a number of times, it works a bit faster than purify on the straightforward
memory corruption problems such as overwriting, double deallocation,etc.
Alternatively, splash out for purify.

dave
"Steffen" <SE*****@gsd-software.com> wrote in message
news:28**************************@posting.google.c om...
I'm searching for a heap monitoring tool, 'cause I have a heap crash
in my software (c++). It occurs only after some days running my
program. The crash happens by allocating string-buffers deep in the
mfc.

Any ideas where i can find such tool?

Steffen

Jul 22 '05 #3
> I'm searching for a heap monitoring tool, 'cause I have a heap crash
in my software (c++). It occurs only after some days running my
program. The crash happens by allocating string-buffers deep in the
mfc.


http://en.wikipedia.org/wiki/Static_code_analysis
http://en.wikipedia.org/wiki/Memory_debugger
http://en.wikipedia.org/wiki/Buffer_overflow
Jul 22 '05 #4

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

Similar topics

24
by: omlet | last post by:
omlet v4) wrote in message Dear DBA, You are cordially invited to test and review our windows native and 100% pure Java Oracle 9i/8i Monitoring Application (OMLET). OMLET is the Ultimate Visual...
17
by: Jonas Rundberg | last post by:
Hi I just started with c++ and I'm a little bit confused where stuff go... Assume we have a class: class test { private: int arr; };
7
by: SQLDBA | last post by:
I am in the process of evaluating some SQL Performance Monitoring /DBA tool to purchase (For SQL Server 2000). I have the following list of software that I came across and have to finalize which...
2
by: Robert Oschler | last post by:
Need help with HEAP CORRUPTION and my MSVC 6 DLL I have a MSVC 6 DLL that I've written. It is used heavily by a Delphi 6 app I've written. For two months everything has been working fine. ...
7
by: Mark | last post by:
Hello, I have researched and tried every thing I have found on the web, in groups and MS KB articles. Here is what I have. I have a Windows 2000 Domain Controller all service packs and...
9
by: Tim D | last post by:
Hi, I originally posted this as a reply to a rather old thread in dotnet.framework.general and didn't get any response. I thought it might be more relevant here; anyone got any ideas? My...
10
by: Woody Ling | last post by:
In 32 bits DB2 environment, is it meaningful to set sheapthres larger than 256MB for the following case.. 1. Intra-parallel is ON 2. Intra-parallel is OFF
3
by: emer.kurbegovic | last post by:
how can i get heap memory of a windows process with C#? For example, I would like to see the value of the heap memory allocated for my "java.exe" process. thanks in advance.
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.