473,396 Members | 1,892 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Uploading Files Memory Issue in ASP.NET

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
1 1096
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: dickiedyce | last post by:
Hi there. I've spent the weekend getting ever more frustrated, trying to get an upload file function working on a website. The site is hosted by a company called oneandone. They're using PHP...
3
by: Rosie Chua | last post by:
Dear all, I am running an online file management server that allows web clients to upload files from a webform to the web server. Using the code "filename.PostedFile.SaveAs(fullPath);" I...
4
by: Himanshu | last post by:
hi, Can anybody tell me that thru asp.net using c#, how can we upload and download physical files in any table of SQL Server Database. the uploading part is running successfully but the...
0
by: Nikolay Petrov | last post by:
I need to upload big files to a web service. At client side I use the FileInput contol to get the local filename and then a binary reader to get file contents as byte array, then send this byte...
7
by: Lad | last post by:
If a user will upload large files via FTP protocol, must the user have an FTP client on his computer or is it possible to use a similar way to "http form" comunication? Or is there another way(...
2
by: Joseph0 | last post by:
For the purpose of this thread, here is the scenario: 100 people are uploading 500 MB files at the same time. Each person has the exact computer configurations and same Internet connections. Which...
4
by: Rob Meade | last post by:
Dear all, We have purchased a product called SA-FileUp which we have used in our organisation for a number of years, I'm quite an an avid supporter of it, recently I've been trying to ensure...
44
by: badvoc | last post by:
Hi to all, Firstly I must state my knowledge of php is limited but I am a quick learner. I have taken on the task of finishing a friends website due to his untimely passing and have hit a problem...
1
by: =?Utf-8?B?RGFu?= | last post by:
MS won't seem to let me reply to my old post, so I created a new one. The error occurs in all browsers. It's definitely a server issue, not client. The server is not proxied in any way. I tried...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.