I am creating an ASP/VBScript application that stores image files in a database. In that application I am retrieving image properties by copying the pictures out of the database reading it's properties (size, width, height, type) and then deleting them. For some reason after a few hours of clicking around in my app the server memory baloons from around 190Mb in use to nearly 400Mb. I have checked to make sure that I am releasing all of my "Set"'s by setting them to nothing and checked that I am closing all of my database connections but for some reason the problem persists. Is there any place else I should be looking for problems? Update: I think I have it narrowed down to this function:<BR><BR>function GetPic(picnum, imgBytess)<BR> on error resume next<BR> Set oStream = Server.CreateObject("ADODB.Stream")<BR> oStream.Type = 1<BR> oStream.Open<BR> oStream.Write oUsers("Picture" & picnum)<BR> imgBytess = oStream.Size<BR> upperlimit = 900000000<BR> lowerlimit = 100000000 <BR> GetPic = Int((upperlimit - lowerlimit + 1)*Rnd() + lowerlimit)<BR> If oStream.Size > 0 Then oStream.SaveToFile Server.MapPath("/temp/" & GetPic & ".tmp")<BR> oStream.Close<BR> Set oStream = nothing<BR>end function<BR><BR>Ideas? Any help would be GREATLY appriciated.