Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > PowerShell

Vista Tutorial - Re: problems with esentutl.exe running in powershell with winrs FAILUR

Reply
 
Old 06-09-2008   #1 (permalink)
Marco Shaw [MVP]
Guest


 
 

Re: problems with esentutl.exe running in powershell with winrs FAILUR

Quote:

> winrs /r:testserver powershell.exe -nolog -noprofile "d:\san\test.ps1"
>
> I get:
>
> FAILURE: VirtualAlloc: The paging file is too small for this operation to
> complete.
I'm not 100%, but what does this give on your system:

PS > winrm get winrm/config/winrs
Winrs
AllowRemoteShellAccess = true
IdleTimeout = 900000
MaxConcurrentUsers = 5
MaxShellRunTime = 2147483647
MaxProcessesPerShell = 5
MaxMemoryPerShellMB = 150
MaxShellsPerUser = 16

PS >

I'm thinking you might need to try to increase your MaxMemoryPerShellMB
setting.

PS > winrm set winrm/config/winrs `@`{MaxMemoryPerShellMB=`"200`"`}
Winrs
AllowRemoteShellAccess = true
IdleTimeout = 900000
MaxConcurrentUsers = 5
MaxShellRunTime = 2147483647
MaxProcessesPerShell = 5
MaxMemoryPerShellMB = 200
MaxShellsPerUser = 16

PS >

I just increased mine from 150MB to 200MB above.

Marco

--
Microsoft MVP - Windows PowerShell
http://www.microsoft.com/mvp

PowerGadgets MVP
http://www.powergadgets.com/mvp

Blog:
http://marcoshaw.blogspot.com

My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Problems running slow after update, IE but expecially running any Vista music pictures video
Re: how to run powershell via winrs PowerShell
Re: how to see arguments with powershell when running winrs PowerShell
Re: winrs does not work in PS PowerShell
Running mailto from powershell PowerShell


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46