RE: WMI Win32_process create memory limitation





"jothaxe" wrote:

After some searching, it seems to be a setting for WMI on the server that can
be found here:

__ProviderHostQuotaConfiguration Class

http://msdn.microsoft.com/en-us/library/aa394671(VS.85).aspx

"jothaxe" wrote:

When I use WMI to launch a piece of code remotely on a server I am running
into a memory limitation of just over 100MB. After my code allocates more
than 100MB of RAM the System.OutOfMemoryException is thrown.

This is odd because when I run the same piece of code locally on that same
server (remote desktop) I am able to allocate approximately 1700MB or RAM
before throwing the same exception!

Note that the executed code is written in C# and running on the .NET
framework 2.0. I am launching the process using the WMI Win32_Process create
method in code written in C# also (System.Management class.)

Is this supposed to be happening, or is it a bug? How can I work around
this limitation so that I can use more than 100MB of RAM when the process is
launched programatically?
.


Loading