Go Back   Velocity Reviews > Newsgroups > ASP Net
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

ASP Net - aspnet_wp.exe and memory management

 
Thread Tools Search this Thread
Old 03-16-2006, 03:37 PM   #1
Default aspnet_wp.exe and memory management


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.




Alex D.
  Reply With Quote
Old 03-16-2006, 03:53 PM   #2
Simon Hart
 
Posts: n/a
Default Re: aspnet_wp.exe and memory management
I use Process Explorer by http://www.sysinternals.com it's free too.

Regards
Simon.

"Alex D." <> wrote in message
news:O8WCZ%...
> 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
  Reply With Quote
Old 03-16-2006, 05:01 PM   #3
Bruce Barker
 
Posts: n/a
Default 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." <> wrote in message
news:O8WCZ%...
> 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.
>





Bruce Barker
  Reply With Quote
Old 03-16-2006, 05:37 PM   #4
Alex D.
 
Posts: n/a
Default 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:%...
> 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." <> wrote in message
> news:O8WCZ%...
>> 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.
>>

>
>





Alex D.
  Reply With Quote
Old 03-16-2006, 05:40 PM   #5
Alex D.
 
Posts: n/a
Default 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:%...
>I use Process Explorer by http://www.sysinternals.com it's free too.
>
> Regards
> Simon.
>
> "Alex D." <> wrote in message
> news:O8WCZ%...
>> 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.
>>

>
>





Alex D.
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
OCZ 6GB Triple-Channel 1333 MHz DDR3 Memory Kit Admin Front Page News 0 02-16-2009 01:27 PM
memory upgrade -D- A+ Certification 1 02-03-2007 01:01 AM
Re: What memory to use? me A+ Certification 0 12-14-2004 03:33 AM
Re: Memory stick question Nildram A+ Certification 1 01-14-2004 02:41 PM
Half memory: lost? Joe A+ Certification 4 09-04-2003 08:57 PM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46