Quantcast
Channel: YouTrackReSharper (RSRP) - Bug and Issue Tracker
Viewing all articles
Browse latest Browse all 106942

RSRP-287608: Out of Memory Exception when trying to Optimize References

$
0
0
Reporter Darío Ramos (dario_ramos) Darío Ramos (dario_ramos)
Created Jan 5, 2012 4:57:53 PM
Updated Jan 5, 2012 4:59:20 PM
Priority Normal
Type Bug
Fix versions No Fix versions
State Submitted
Assignee Unassigned
Subsystem No subsystem
Affected versions 6.1
Fixed in build No Fixed in build
We have a very big .NET solution (about 170 projects), which includes C#, VB.NET, C++/CLI and C++ projects. When trying to Optimize References (project context menu->Optimize References...), the progress bar goes up to about 70% and Resharper 6.1 (freshly updated yesterday) crashes. And Visual Studio crashes shortly afterwards, presumably due to an OOM as well.

Perhaps this has to do with the fact that the project is a VB.NET one, has 5000+ lines of code, and it's a huge Windows Form distributed among many files, using the partial class construct. Whatever I can do to help invistigate the problem, please tell me.

Here's the full error message:


ReSharper – Runtime Error – Technical Data

JetBrains ReSharper has encountered a runtime error.
Technical data follows.
Hint: Ctrl+C copies the text of system message boxes to Clipboard.
________________________________________________________________

Exception of type 'System.OutOfMemoryException' was thrown.



--- EXCEPTION #1/2 [OutOfMemoryException]

ExceptionPath = Root.InnerException

ClassName = System.OutOfMemoryException

HResult = -2147024882

Source = mscorlib

StackTraceString = “

  at System.Environment.GetResourceFromDefault(String key)

     at System.Diagnostics.StackTrace.ToString(TraceFormat traceFormat)

     at System.Diagnostics.StackTrace.ToString()

     at JetBrains.Util.LoggerException.CaptureStackTrace(Int32 ignoreFrames)

     at JetBrains.Util.LoggerException.WrapException(Exception ex, String comment, Boolean bDumpCurrentStack)

     at JetBrains.Util.Logger.LogExceptionEx(Exception ex, String comment, Boolean bDumpCurrentStack)

     at JetBrains.Util.Logger.LogException(String comment, Exception ex)

     at JetBrains.Application.Threading.MultiCoreFibersPool.Fibers.<>c__DisplayClassa.<EnqueueJobImpl>b__8()

     at JetBrains.Application.Threading.MultiCoreFibersPool.FiberProc()





--- Outer —



--- EXCEPTION #2/2 [LoggerException]

Message = “Exception of type 'System.OutOfMemoryException' was thrown.”

ExceptionPath = Root

ClassName = JetBrains.Util.LoggerException

InnerException = “Exception #1 at Root.InnerException”

HResult = -2146232832

StackTraceString = “

  at JetBrains.Application.Threading.MultiCoreFibersPool.FiberProc()

     at JetBrains.Util.Logger.Catch(Action action)

     at JetBrains.Application.Threading.MultiCoreFibersPool.<.ctor>b__1()

     at System.Threading.ThreadHelper.ThreadStart_Context(Object state)

     at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)

     at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)

     at System.Threading.ThreadHelper.ThreadStart()





OK


Viewing all articles
Browse latest Browse all 106942

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>