Main BLOGGER
Google
WWW THIS BLOG
Thursday, October 20, 2005
 
Purify for memory leaks
1. Change Makefile, add /Fixed:No for link option

2. Instrument into rs.exe
purify /Replace=yes /Run=no rs

3. check library settings
Make sure the cache directory is in the %path%
for example: set path = %path%; C:\Program Files\Rational\PurifyPlus\cache

4. run rs.exe

5. Purify will be lanuched up automatically

6. Click "New Leaks" icon in the toolbar

7. Use right-button menu "quick filter" to filter un-related leaking or go to Filter Manager to customize filters.

Tips "using pushd and popd to fast-switching between paths"

Tips to purify Symphony Service From Michael Feiman
It should be working OK. Two major things to check:
1) Purify bin AND cache directory path should be accessible from the service environment.
If it's not in global path, it can be done by setting it to PATH environment in application profile for Service.
2) Start Purify itself BEFORE you start Symphony - the Purify IDE starts once and "globally", so
sometimes it can be a timing problem to start it from within service itself, but if it's already running, so
the new service just attaches to it.
Thanks
Michael



<< Home

Powered by Blogger

Google
WWW THIS BLOG