Connecting Tech Pros Worldwide Help | Site Map

aspnet_wp.exe and memory management

Alex D.
Guest
 
Posts: n/a
#1: Mar 16 '06
is there any way to free some garbage memory used by the aspnet working
process without restarting the server?
one of my pages is loading objects in demand into memory but it seems that
is not working ok because if flooding the server's memory, then I dont have
a clue on how to free the memory without restarting the server or killing
the aspnet working process. also I would like to see whats happening and
what objects are being loaded into memory, any cool way?
Thanks,
alex.


Simon Hart
Guest
 
Posts: n/a
#2: Mar 16 '06

re: aspnet_wp.exe and memory management


I use Process Explorer by http://www.sysinternals.com it's free too.

Regards
Simon.

"Alex D." <alexware69@hotmail.com> wrote in message
news:O8WCZ%23QSGHA.3944@TK2MSFTNGP10.phx.gbl...[color=blue]
> is there any way to free some garbage memory used by the aspnet working
> process without restarting the server?
> one of my pages is loading objects in demand into memory but it seems that
> is not working ok because if flooding the server's memory, then I dont
> have a clue on how to free the memory without restarting the server or
> killing the aspnet working process. also I would like to see whats
> happening and what objects are being loaded into memory, any cool way?
> Thanks,
> alex.
>[/color]


Bruce Barker
Guest
 
Posts: n/a
#3: Mar 16 '06

re: aspnet_wp.exe and memory management


most likely you are not freeing unmanaged memory, or storing managed memeory
in statics (vb modules). to debug get the windbg from the win32 sdk, and
load the sos.dll. here's an article:

http://support.microsoft.com/default...b;en-us;892277

-- bruce (sqlwork.com)


"Alex D." <alexware69@hotmail.com> wrote in message
news:O8WCZ%23QSGHA.3944@TK2MSFTNGP10.phx.gbl...[color=blue]
> is there any way to free some garbage memory used by the aspnet working
> process without restarting the server?
> one of my pages is loading objects in demand into memory but it seems that
> is not working ok because if flooding the server's memory, then I dont
> have a clue on how to free the memory without restarting the server or
> killing the aspnet working process. also I would like to see whats
> happening and what objects are being loaded into memory, any cool way?
> Thanks,
> alex.
>[/color]


Alex D.
Guest
 
Posts: n/a
#4: Mar 16 '06

re: aspnet_wp.exe and memory management


all memory is managed, the problem is that is too much memory and I guess it
will last all the time the session is alive. What I am looking for is a way
of manually disposing all the objects and free the memory, or perhaps all
the memory pertaining to a session.

"Bruce Barker" <brubar_nospamplease_@safeco.com> wrote in message
news:%235QQLtRSGHA.1160@TK2MSFTNGP09.phx.gbl...[color=blue]
> most likely you are not freeing unmanaged memory, or storing managed
> memeory in statics (vb modules). to debug get the windbg from the win32
> sdk, and load the sos.dll. here's an article:
>
> http://support.microsoft.com/default...b;en-us;892277
>
> -- bruce (sqlwork.com)
>
>
> "Alex D." <alexware69@hotmail.com> wrote in message
> news:O8WCZ%23QSGHA.3944@TK2MSFTNGP10.phx.gbl...[color=green]
>> is there any way to free some garbage memory used by the aspnet working
>> process without restarting the server?
>> one of my pages is loading objects in demand into memory but it seems
>> that is not working ok because if flooding the server's memory, then I
>> dont have a clue on how to free the memory without restarting the server
>> or killing the aspnet working process. also I would like to see whats
>> happening and what objects are being loaded into memory, any cool way?
>> Thanks,
>> alex.
>>[/color]
>
>[/color]


Alex D.
Guest
 
Posts: n/a
#5: Mar 16 '06

re: aspnet_wp.exe and memory management


I will give it a try. thanks!

"Simon Hart" <srhartone@[no spam]yahoo.com> wrote in message
news:%23HhkLHRSGHA.1728@TK2MSFTNGP11.phx.gbl...[color=blue]
>I use Process Explorer by http://www.sysinternals.com it's free too.
>
> Regards
> Simon.
>
> "Alex D." <alexware69@hotmail.com> wrote in message
> news:O8WCZ%23QSGHA.3944@TK2MSFTNGP10.phx.gbl...[color=green]
>> is there any way to free some garbage memory used by the aspnet working
>> process without restarting the server?
>> one of my pages is loading objects in demand into memory but it seems
>> that is not working ok because if flooding the server's memory, then I
>> dont have a clue on how to free the memory without restarting the server
>> or killing the aspnet working process. also I would like to see whats
>> happening and what objects are being loaded into memory, any cool way?
>> Thanks,
>> alex.
>>[/color]
>
>[/color]


Closed Thread