C# application requires more than 1.4GB WorkingSet.

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,
I am writing a C# console application in Dev Studio.NET (v1.1). Running on
XP Pro (SP2) and 2000 Server.

My application requires a lot of memory. I am running on a machine with 4GB
physical memory. However, when my application allocates more than ~1.4GB, I
receive an "Out of memory" exception.

I have tried to set the MaxWorkingSet for the process, but it still fails to
allocate more than ~1.4GB.

Note that each individual allocation is not huge. What can I do to increase
the maximum WorkingSet for the application?
 
What are you trying to do with so much memory? Are you loading complete
files into memory for a transform or something?
 
Back
Top