.Net app using whole memory available

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.
 
G

Gregory A. Beamer

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! |
*******************************************
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top