Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / December 2007

Tip: Looking for answers? Try searching our database.

How to increase memory for w3wp process? > System.OutOfMemoryException

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Talal Sultan - 12 Dec 2007 15:40 GMT
Hi people,

I was wondering if there was a way to control how much memory we can
allocate to an ASP.NET process. I have an application where users upload
files for special image processing. The images can be as big as 10 or 20MB
each. I have noticed that after an iisreset, the first upload works fine but
the memory used by the w3wp process (in windows 2003) jumps from about 80MB
to 390MB. Event after the processing is done and the site is not accessed
anymore, the memory is still used at 390MB and doesn't go down. So, when
performing a second upload later, the system will crash with the following
(excerpt):

Client found response content type of 'text/html; charset=utf-8', but
expected 'text/xml'.
The request failed with the error message:
--
<html>
   <head>
       <title>Exception of type 'System.OutOfMemoryException' was
thrown.</title>

I am using a web service to do the computations. I figured that if I allow
the process to use more memory, the problem might be solved. The module
doing the processing is an unmanaged DLL and has been tested by itself and
doesn't have memory leaks.

Thanks,
Talal
Peter Bromberg [C# MVP] - 12 Dec 2007 15:53 GMT
IIS has Application Pool settings that configure app recycling, memory usage,
and so on.
-- Peter
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
MetaFinder: http://www.blogmetafinder.com 

> Hi people,
>
[quoted text clipped - 24 lines]
> Thanks,
> Talal

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.