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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

memory issue with ADO recordset and ASP

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
We have a web application that is using crystal reports 8.5. From an ASP page, we are retrieving an ADO recordset (from an Oracle database) and passing it to a crystal report (which uses a TTX) file. The recordset is passed in a session variable to the report (the only option crystal offers). We are following their recommendations and issuing the following statements when the user closes the activeX report viewer to destroy the session objects:

set session("oPageEngine") = nothing
set session("oRpt") = nothing
set session("oApp") = nothing

Session.Contents.Remove("oPageEngine")
Session.Contents.Remove("oRpt")
Session.Contents.Remove("oApp")

But... everytime we run a report, about 10MB of memory is taken on our application server. When the report is closed (and we remove the session objects), none of the memory is released. So... each time one report is run, out application server loses 10MB of memory that is never released.

Please help!

Any suggestions are appreciated!
 
Are you also closing and destroying the ADO recordset?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top