.Net app using whole memory available

  • Thread starter Thread starter Marcin Ochocki
  • Start date Start date
M

Marcin Ochocki

Hi,

I have a heterogeneous application: a win32 app hosting .net service.
Under a heavy load the .net part is consuming 100% of available
memory. Of course after a moment GC runs and situation goes back to
normal. But during this few seconds other apps running on this machine
are experiencing problems.

The question is: can I configure .net application by setting maximum
of memory it can use? For example I'd like the application to use max
80% of available memory and when it will happen, the GC should do it's
work.

thanx
M.
 
I have a heterogeneous application: a win32 app hosting .net service.
Under a heavy load the .net part is consuming 100% of available
memory. Of course after a moment GC runs and situation goes back to
normal. But during this few seconds other apps running on this machine
are experiencing problems.

The question is: can I configure .net application by setting maximum
of memory it can use? For example I'd like the application to use max
80% of available memory and when it will happen, the GC should do it's
work.

The only ways I know of is hosting the .NET bits in IIS or possibly COM+
(Enterprise Service). You can then throttle the memory. This gives me a
TODO of checking if 4.0 has any provisions for this, however. ;-)

Peace and Grace,

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

Twitter: @gbworld
Blog: http://gregorybeamer.spaces.live.com

*******************************************
| Think outside the box! |
*******************************************
 
Back
Top