|
Home > Archive > BizTalk Server > September 2004 > Orchestration enlistment/start from WMI fails with "out of memory"
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Orchestration enlistment/start from WMI fails with "out of memory"
|
|
| Roland Jäger 2004-08-19, 7:47 am |
| Hi,
I'm using the enlistorch.vbs script from the SDK for enlisting and
starting my orchestrations (I've also tried the C# equivalent). However,
within certrain assemblies orchestrations cannot be enlisted by WMI. The
script fails with an System.OutOfMemoryException . The eventlog contains
a similar XLANG/s error:
An OutOfMemoryException exception occurred while the XLANG/s runtime
enlisted a service.
Call stack:
Exception type: BTXEnlistmentException
At the same time, memory usage for wmiprsve.exe goes up to about 128MB
but not further. Is there a limit?
I've noticed that the BTS Administration tool fails as well with a
similar error. Only BTS Explorer within VS 2003 works. However, that's
not an option on a production machine....
Thanks for your help,
Roland
| |
| Lee Graber [MSFT] 2004-09-07, 5:53 pm |
| There is an "issue" with WMI in that they cap there memory usage by default
at 128MB. This is configurable, though via wmi and wbemtest. I did it a
long time ago and don't remember everything, but I did dig up this script
from an email thread on this:
var locator = WScript.CreateObject ("WbemScripting.SWbemLocator");
var wmi = locator.ConnectServer ("", "root");
var quota = wmi.Get ("__providerhostquotaconfiguration=@");
quota.MemoryPerHost = 512*1024*1024;
The one thing to note is that you have to do a system reboot after making
this change.
Hope this helps.
Lee
This posting is provided "AS IS" with no warranties, and confers no rights.
EBusiness Server Team
--------------------[vbcol=seagreen]
memory"[vbcol=seagreen]
cpmsftngxa10.phx.gbl!TK2MSFTFEED01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP09
.phx.gbl[vbcol=seagreen]
|
|
|
|
|