From: Ng Pheng Siong
Subject: Checking leaks on Windows
Date: 
Message-ID: <bqepc2$kf1$1@reader01.singnet.com.sg>
Hi,

I'm using a 3rd-party COM library with LispWorks on Windows.

Forms are like this:

    (init-com-stuff)
    (unwind-protect
        (handler-case
            (do-whatever-com-stuff)
          (com-error (e) (handle-com-error e)))
      (cleanup-com-stuff))

Testing appears ok.
            
How do I go about checking that the above code isn't leaking memory or other
resources underneath? 

I can, say, deliver a standalone executable that does the above COM stuff
1000 times and check ... what? Are there facilities within Common Lisp or
LispWorks for this, or do I need to use other Windows programming tools?

TIA for any advice. Cheers.


-- 
Ng Pheng Siong <ยทยทยทยท@netmemetic.com> 

http://firewall.rulemaker.net     -+- All Your Rulebase Are Belong To You[tm]
http://sandbox.rulemaker.net/ngps -+- Open Source Python Crypto & SSL