Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Code Support: ASP (Non-Forum Related)
 Bug-Memory leak in iis5
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

djw
Starting Member

2 Posts

Posted - 25 June 2001 :  20:21:25  Show Profile
Help we have a Bug-Memory leak in iis5! Does anyone know why?

We have a W2K server SP2 running iis5 and we use ODBC (native windows
Paradox & Merant 3.70) to access a Paradox 5 data base table called by an
asp page. This combination yields a memory leak. We see this leak in the
ALWAYS increasing dllhost.exe "Memory Usage" until iis5 freezes. We also
notice that the "Total Handles" ALWAYS increases.

This is the test asp page we are using to find out what is going on:

<%@ Language=VBScript %>
<%
Response.Buffer = True
%>


<!-- #INCLUDE FILE = "../search/Connect.inc" -->
<!-- #INCLUDE FILE = "../search/adovbs.inc" -->

<html>
<body>

<%
Dim djwRec,vI
Set djwRec = Server.CreateObject("ADODB.Recordset")
For vI = 1 to 500
djwRec.Open "SELECT * FROM Stock WHERE `Product Type` = 'D'" ,vConn,
adOpenKeyset, adLockReadOnly, adCmdText
%>
<B><%=djwRec("Lot No")%></B><BR>
<%
djwRec.Close
Response.Flush
Next
Set djwRec = Nothing
vConn.Close
Set vConn = Nothing
%>

</body>
</html>


  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.27 seconds. Powered By: Snitz Forums 2000 Version 3.4.07