By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,395 Members | 2,537 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,395 IT Pros & Developers. It's quick & easy.

Uploading Files Memory Issue in ASP.NET

P: n/a
Whenever you upload files via HTTP Post, the file is stored in the
memory of the aspnet_wp.exe process, and never deallocates completely
(if you are lucky a few MB gets released). One of the config settings
for .NET processes, allows them to utilize 60% of physical memory on
the server, at which point the process is recycled and all execution
is stopped. Whenever a new upload is started, though, some memory is
de-allocated, but not enough compared to memory that was used in
prior uploads. Is there anyother way I can solve this issue without
using Third Party Components or Custom Built ISAPI filters.

Any ponters is highly appreciated.
Nov 19 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
The 3rd party components that I know about use an HTTP module to manage the
memory manually and flush to disk as needed.
I suppose this is how you'd have to do it too.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"Mahesh" <Ma****@discussions.microsoft.com> wrote in message
news:21**********************************@microsof t.com...
Whenever you upload files via HTTP Post, the file is stored in the
memory of the aspnet_wp.exe process, and never deallocates completely
(if you are lucky a few MB gets released). One of the config settings
for .NET processes, allows them to utilize 60% of physical memory on
the server, at which point the process is recycled and all execution
is stopped. Whenever a new upload is started, though, some memory is
de-allocated, but not enough compared to memory that was used in
prior uploads. Is there anyother way I can solve this issue without
using Third Party Components or Custom Built ISAPI filters.

Any ponters is highly appreciated.

Nov 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.