Re: memory leak in asp 2.0



Almost certainly the problem is in storing large amount of data in session
variables. See if you can minimize it. Another idea is to use out-of-process
session management.

--
Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net


"Aleks Kleyn" <Aleks_Kleyn@xxxxxxxxxxx> wrote in message
news:69A6D405-3B43-4999-A3D0-3CCD4BB0596A@xxxxxxxxxxxxxxxx
I wrote application on asp.net 2.0 using dataset. One dataset I put in
session collection and other (which is small and common for other users) I
put in application. I expected that it will get some amount of memory,
however I expected that this amount of memory will be fixed and will depend
on number of user. When I put code in production I discovered that
aspnet_wp.exe increases memory which it uses. Each second 2meg. What may be
the reason. I expected that when I load new page, every variable that I use
in old page releases memory. How I can find where I did not release memory.
I call each time 'Page unload' when I load new page but never when I close
it.


.



Relevant Pages

  • Re: memory leak in asp 2.0
    ... If to be placed into session it should exist in session then it will ... put object which refers to web service into session I will not put into ... so I was able to watch how much memory I need. ... When I load first page the memory ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Faking Entity Beans in Tomcat?
    ... I have an admin application which allows me add/change/delete users' ... Surely the data couldn't be held in session level as each user creates a new ... > Well obviously that depends on the amount of data involved, ... > will be using the site concurrently, and the amount of memory available on ...
    (comp.lang.java.programmer)
  • Re: managed pool question
    ... You might get out-of-memory errors. ... > and I will load it all at once in loading time. ... > the amount of resources that will be loaded all at once is ...
    (microsoft.public.win32.programmer.directx.graphics)
  • Re: RFC: x86: relocatable kernel changes (revised spec)
    ... This field indicates the amount of linear contiguous memory starting ... kernel needs before it is capable of examining its memory map. ... select a safe load address for the kernel. ...
    (Linux-Kernel)
  • Re: Faking Entity Beans in Tomcat?
    ... session by an admin user or something along those lines. ... Well obviously that depends on the amount of data involved, ... will be using the site concurrently, and the amount of memory available on ... compromise to store the data in memory to improve performance, ...
    (comp.lang.java.programmer)