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 / .NET Framework / New Users / September 2007

Tip: Looking for answers? Try searching our database.

is there some per-process-limit on memory in .net processes? i keep getting System.OutOfMemoryException when my box has 8 gigs of unused memory.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Daniel - 15 Sep 2007 04:36 GMT
is there some per-process-limit on memory in .net processes? i keep getting
System.OutOfMemoryException when my box has 8 gigs of unused memory.
jacky kwok - 17 Sep 2007 02:44 GMT
> is there some per-process-limit on memory in .net processes? i keep getting
> System.OutOfMemoryException when my box has 8 gigs of unused memory.

Questions:

1. What OS you are running? 32bit? 64bit?
If your OS is 32bit OS, then no matter how much memory in your machine,
your application just can use 2G/3G memory (except your application uses
PAE in some special OS).

Hence, if you just run a 32bit application and it requires more than
2G/3G memory, no matter Dotnet or native , it will be out of memory.

2. What is the Dotnet version? 1.x, 2.0 or above?
if you are running dotnet1.x application, even running in 64bit OS, it
just will run in 32bit mode. It still cannot use more than 2G memory.

Of cause, it is possible your application has bug or you catch some
system bug to cause the OutOfMemoryException.

Signature

Jacky Kwok
jacky@alumni_DOT_cuhk_DOT_edu_DOT_hk


Rate this thread:







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.