|
|
|
|
|
| | |
|
Active Server Pages ASP programs help tutorial tutorials routine routines jobs listserve mailinglist bulletin board bulletin boards programming snippet snippets CJWSoft ASPProtect ASPBanner ASPClassifieds
(Advanced)
(Components)
(Database)
(General)
(Vbscript)

|
|
Subject: |
Bug-Memory leak in iis5 |
From: |
Greg |
Date: |
6/25/2001 11:58:49 PM |
IP: |
64.7.78.94 |
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>
|
|
|

|
|
|
|
|
|
|
|
|
|