Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IIS and memory issues

Status
Not open for further replies.

MikeT

IS-IT--Management
Feb 1, 2001
376
US
I have an intranet page that grabs a list of dBase database names from an Access database. I put that list into an array, and then search each one for certain criteria. There are about 20 dBase databases to search through, and they range in size from 300K to 1.5MB.

Each time the databases are searched, the inetinfo.exe process increases by about a megabyte. After a few days, the inetinfo process is consuming large amounts of memory, and eventually stops searching the databases and returns an error about 'too much memory being allocated'.

I have closed and destroyed all adodb.connections and recordsets.
 
I'm not sure what your code is doing but some process is not finishing.
This is a common problem when a do while not RS.EOF..loop type logic is executed but the RS.movenext method is never called. Look through your code to make sure all logic loops will always exit the looping.

Thanks,

Gabe
 
All loops are properly closed; the page runs fine until the server running it won't give it anymore memory to eat up.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top