Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
inet
active_desktop
active_scrptng
asp.components
asp.db
asp.general
comctl32
comp.packaging
components.dev
dbweb
dhtml_editing
docobjects
html_authoring
html_objmodel
iis
iis.ftp
iis.security
iis.smtp_nntp
indexserver
misc
mshtml_hosting
scripting.jscript
scripting.vbscript
sdk_setup
shell_objmodel
urlmonikers
webbrowser_ctl
wininet
  
 
date: Fri, 29 Jul 2005 18:08:02 -0700,    group: microsoft.public.inetserver.asp.components        back       


component memory /handle leak   
We have a W2K server SP2 running iis5 and a VC++ component that is ALWAYS 
increasing dllhost.exe "Memory Usage". We also noticed that the "Handle" 
counter ALWAYS increases. 

To check if it was our problem, we created a new component ( new ATL 
project, new MTS object with object pooling). We did not add any code to it. 
A new sample ASP page was used with set obj = server.createobject(name) 
followed by set obj = nothing, just to activate the component. 

We got the same problem running this simple page, the handle counter was 
always increasing each time we hit the page. Since we did not use any code in 
this new component, what is happening ? Do we have to use any compiler option 
do avoid this handle/memory leak ?
date: Fri, 29 Jul 2005 18:08:02 -0700   author:   Marcelo Ferreira

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us