Environment size problems
I have a series of .cmd scripts that execute perl scripts, unix tools and java programs.
The scripts store information in about 100 enviroment variables which in turned are used by the perl and java programs been called.
In Windows 2008 everything works well , but in Windows 2003 the scripts work correctly until the size of all environment variables get to around 26K in size at which point that we start seeing perl failures.
Does anyone know/guess why the difference in behavior between W2k8 and W2k3? Are there any registry changes that can be made to expand the envirment size ?
December 28th, 2009 6:37pm
Hi George,This behavior was fixed in userenv.dll , please have a look at the below link http://support.microsoft.com/kb/906469
February 2nd, 2010 5:42am
Hellothanks for that solution , but that soultion only affects the size of the path variable if it exceeds 1024.My issue deal with the aggregate size of all environment variables. Once the sum of the lenth all enviroment variables reacheas 27K bytes the probelm start.
Free Windows Admin Tool Kit Click here and download it now
February 2nd, 2010 3:37pm


