Re: ASP.NET application more than 200MB virtual memory
- From: "Jéjé" <willgart@xxxxxxxxxxxxxxxxx>
- Date: Tue, 26 Apr 2005 00:31:01 -0400
also try this:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag/html/scalenethowto13.asp
the CLR Profiler...
this utility will scan the memory usage for you
"Jéjé" <willgart@xxxxxxxxxxxxxxxxx> wrote in message
news:umL3YbhSFHA.3788@xxxxxxxxxxxxxxxxxxxxxxx
> mmm...
>
> its difficult to isolate the problem from my point of view ;-)
>
> have you try to open 1 page only and refresh it a lot of time while
> measuring the memory usage?
>
> how many memory is installed on the server?
> have you try to call the GC.Collect() method to purge the memory?
>
> I have found a post regarding the usage of Strings instead-of
> StringBuilder
> using strings can cause huge memory usage, changing it to stringbuilders
> can help you.
>
>
> "Ethan Chan" <ethan@xxxxxxxxxxxxxx> wrote in message
> news:uIwP4ygSFHA.1232@xxxxxxxxxxxxxxxxxxxxxxx
>>I am using Castle Proxy as an object factory to serve objects and store
>>them in an object pool for retrieval.
>>
>> Other than that, our application uses very little session data, more for
>> the forms authentication.
>>
>> Database:
>> Access MySQL database using nHibernate which manages the database
>> pooling.
>>
>> "Jéjé" <willgart@xxxxxxxxxxxxxxxxx> wrote in message
>> news:%23ZCPGmgSFHA.1268@xxxxxxxxxxxxxxxxxxxxxxx
>>> do you access databases? do you close your connections?
>>> do you add something in cache/session?
>>> do you destroy your objects?
>>>
>>> "Ethan Chan" <ethan@xxxxxxxxxxxxxx> wrote in message
>>> news:u8kDbigSFHA.3420@xxxxxxxxxxxxxxxxxxxxxxx
>>>>
>>>> I have recently been deploying a asp.net extranet application.
>>>>
>>>> The asp.net worker process starts off with 30MB virtual memory and then
>>>> upon serving a few pages, the memory usage increases to a WHOOPIN!
>>>> 200MB and eventully the asp.net process restarts at 300MB and my
>>>> application becomes "unavailable" with my sessions being destroyed.
>>>>
>>>> Is there an explanation why the asp.net process uses that much memory?
>>>>
>>>> After i have logged out of my application and closed the browser, the
>>>> memory usage does not decrease?
>>>>
>>>> Is this due to the Compiler keeping the cache of the application?
>>>>
>>>> Is there anyway i tune the performance and find the memory leak?
>>>>
>>>> Tel : [65] 6225 1308 Fax : [65] 6225 1931 www.active8.com.sg
>>>>
>>>
>>>
>>
>>
>
>
.
- References:
- ASP.NET application more than 200MB virtual memory
- From: Ethan Chan
- Re: ASP.NET application more than 200MB virtual memory
- From: Jéjé
- Re: ASP.NET application more than 200MB virtual memory
- From: Ethan Chan
- Re: ASP.NET application more than 200MB virtual memory
- From: Jéjé
- ASP.NET application more than 200MB virtual memory
- Prev by Date: Re: What is the .mspx file type?
- Next by Date: Re: running an .sql script from an asp.net web page
- Previous by thread: Re: ASP.NET application more than 200MB virtual memory
- Next by thread: What is the .mspx file type?
- Index(es):
Relevant Pages
|