Unable to create nuget package in jenkins for Windows EC2 slave on demand paging file is too small

0

Unable to create nuget package when running through jenkins and running windows slave on AWS EC2 on demand. This windows slave uses WinRM and really resource consuming.

Error:

Unhandled Exception: System.IO.FileLoadException: Could not load file or assembly 'System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The paging file is too small for this operation to complete.

c:\jenkins1\ .nuget\NuGet.targets(100,9): error : Cannot print exception string because Exception.ToString() failed

The nuget package works fine if we attach static AWS Windows EC2 slave on Jenkins

I have done page file change but so far no success on EC2 Windows slave

Vikas

Posted 2019-04-07T03:55:44.463

Reputation: 1

No answers