Re: TSP memory leak
- From: "Andreas Marschall [MVP TAPI]" <Andreas.Marschall@xxxxxxxxxx>
- Date: Thu, 6 Dec 2007 14:40:05 +0100
"B" <shawbrendan@xxxxxxxxxxx> schrieb im Newsbeitrag
news:OEc2ifAOIHA.4584@xxxxxxxxxxxxxxxxxxxxxxx
what OS / SP are you using?
W2K3 (5.2) SP2
Are those strings within your TSP code?
They're in the SVHOST process "somewhere" - hard to say who owns the blocks
of memory that contain them.
How exactly did you notice the mem leaks?
I wrote a little app to monitor our TSP's internal tables, and I included
memory size as part of the ouput. The damn thing just grows inexorably as
calls come in. I've looked at the obvious "news" and "deletes" in our TSP's
code, but they seem to pair up OK.
Is there any pattern on when they occur?
Not that I've found.
Just searched Windows source code (XP/SP2) but didn't find any occurences
of
"ASYC" or "LMEM" in TAPISRV specific files.
I looked at our source code and didn't find any either! Google wasn't
helpful either.
Brendan,
I just searched WS2k3/SP2 sources:
LMEM occurs in:
- /base/win32/client/ as UNICODE string; there is also a lmem.c file.
- /admin/pchealth/sysinfo/msconfig/ but not as string but only as long lMem
ASYC occurs in:
- /printscan/ui/printui/ as a SIGNATURE string.
Doesn't seem TAPISRV related.
Maybe adding _CrtDumpMemoryLeaks() to a _DEBUG version of your TSP may be of
any help.
Please see MSDN for details.
--
Best Regards
Andreas Marschall
Microsoft MVP for TAPI / Windows SDK
TAPI / TSP Developer and Tester
My TAPI and TSPI FAQ:
http://www.I-B-A-M.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm
My Toto® Tools (a collection of free, mostly TAPI related tools):
http://www.i-b-a-m.de/Andreas_Marschall's_Toto_Tools.htm
TAPI development around the world (Frappr! map):
http://www.frappr.com/TAPIaroundTheWorld
* Please post all messages and replies to the newsgroup so all may
* benefit from the discussion. Private mail is usually not replied to.
* This posting is provided "AS IS" with no warranties, and confers no rights.
.
- Follow-Ups:
- Re: TSP memory leak
- From: B
- Re: TSP memory leak
- References:
- TSP memory leak
- From: B
- Re: TSP memory leak
- From: Andreas Marschall [MVP TAPI]
- Re: TSP memory leak
- From: B
- TSP memory leak
- Prev by Date: Re: TSP memory leak
- Next by Date: Re: TSP memory leak
- Previous by thread: Re: TSP memory leak
- Next by thread: Re: TSP memory leak
- Index(es):
Relevant Pages
|