News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

System Resources

Started by G`HOST, November 14, 2005, 06:50:53 PM

Previous topic - Next topic

G`HOST

Hi . there is some problem i am facing. may be it has something to do with my style of coding.anyway...
Something is eating up my system`s resources (The RAM).I dont know what or why.may be because of an app which uses "timers" though i kill them before leaving the program.anyway my point here is
Can u ppl point out precautions one should take while coding in masm.Or may be a link which addresses same problems.Plz Help.

QvasiModo

I don't think there's much to say but "remember to close all handles you opened"  :wink

You can use a program like MemProof to programatically check for resource leaks. That might help identify the piece of your code where resources are being used but not freed.

G`HOST

Here i Found something on the topic. Looks preety neat

http://www.codeproject.com/debug/cdbntsd.asp?df=100&forumid=36038&exp=0&select=1113936

Though its about CDB, NTSD and WinDbg but explains a lot about Debugging and Resource leaks (as u talked about..QvasiModo)

Tedd

Using the GDI can be a great source of memory leaks :bdg
No snowflake in an avalanche feels responsible.