title: OpsHub System.OutOfMemoryException
body: <p>Im trying to migrate a TFS team project to VSO with no success. I always get the System.OutOfMemoryException. I followed the following thread in hope to increase the memory for the Java runtime.
  <a href="https://stackoverflow.com/questions/23944779/java-heap-space-error-when-migrating-to-visual-studio-online-using-opshub-migrat">Java heap space error</a></p>
  
  <p>This is the error message if I look in the EventLog:</p>
  
  <pre><code>Application: opshubtfsservice.exe
  Framework Version: v4.0.30319
  Description: The process was terminated due to an unhandled exception.
  Exception Info: System.OutOfMemoryException
  Stack:
     at System.Runtime.Fx+AsyncThunk.UnhandledExceptionFrame(System.IAsyncResult)
     at System.Net.LazyAsyncResult.Complete(IntPtr)
     at System.Net.LazyAsyncResult.ProtectedInvokeCallback(System.Object, IntPtr)
     at System.Net.ListenerAsyncResult.IOCompleted(System.Net.ListenerAsyncResult, UInt32, UInt32)
     at System.Net.ListenerAsyncResult.WaitCallback(UInt32, UInt32, System.Threading.NativeOverlapped*)
     at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32, UInt32, System.Threading.NativeOverlapped*)
  </code></pre>
  
  <p>When I look how much memory actually being used it's far from the 32 GB that my server has.</p>
  
  <p>Is there any way to get more info on why the OpsHub TFS Service crashes?</p>
  
  <p>Have anyone experienced this and fixed it?</p>
  
  <p><strong>My setup is the following:</strong></p>
  
  <p>OpsHub: Version-1.0 OpsHub Integration Manager Framework-OVSMU-V1.0.1008</p>
  
  <p>OS: Windows Server 2012 Standard 64-bit</p>
  
  <p>.NET CLR Available: 4.0.30319 and below (32 and 64 bit)</p>
  
  <p>The error does not occur at a particular changeset. When I look at the migration progress in OpsHub VSO Migration Utility I can see that the Work Item "Reading and analysis" and "Migration" is "Running". Version Control is "Not Running".</p>
  
  <p>Are there any logfiles I can look into?</p>