Skip to content

System.OutOfMemoryException when uploading 200MB file #55

Description

@agombault

I'm facing an System.OutOfMemoryException when I try to upload a 200MB file on :

  • Window Server 2012 Standard 64-bit
  • 2CPU
  • 4GB
  • 7GB disk free space

I'm actually using the gem winrm-fs (1.0.1)

Application: wsmprovhost.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.OutOfMemoryException
Stack:
   at System.Management.Automation.Runspaces.Internal.RunspacePoolInternal.InternalClearAllResources()
   at System.Management.Automation.Runspaces.Internal.RunspacePoolInternal.CloseHelper()
   at System.Management.Automation.Runspaces.Internal.RunspacePoolInternal.CoreClose(Boolean, System.AsyncCallback, System.Object)
   at System.Management.Automation.ServerRunspacePoolDriver.Close()
   at System.Management.Automation.Remoting.ServerRemoteSession.HandleSessionDSHandlerClosing(System.Object, System.EventArgs)
   at System.Management.Automation.Remoting.ServerRemoteSessionDSHandlerlImpl.CloseConnectionAsync(System.Exception)
   at System.Management.Automation.Remoting.ServerRemoteSessionDSHandlerStateMachine.DoClose(System.Object, System.Management.Automation.RemoteSessionStateMachineEventArgs)
   at System.Management.Automation.Remoting.ServerRemoteSessionDSHandlerStateMachine.RaiseEventPrivate(System.Management.Automation.RemoteSessionStateMachineEventArgs)
   at System.Management.Automation.Remoting.ServerRemoteSessionDSHandlerStateMachine.ProcessEvents()
   at System.Management.Automation.Remoting.ServerRemoteSessionDSHandlerStateMachine.RaiseEvent(System.Management.Automation.RemoteSessionStateMachineEventArgs)
   at Managed_WSMan_ServerTransportManager.DoClose(Boolean, System.Exception)
   at Managed_ShellSession.CloseOperation(OperationShutdownContext*, System.Exception)
   at Managed_WSMAN_PlugIn.CloseShellOperation(OperationShutdownContext*)
   at Managed_WSMAN_PlugIn.PerformCloseOperation(OperationShutdownContext*)
   at <Module>.CloseOperation(OperationShutdownContext*)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions