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

RSRP-287556: Out of Memory exception when using new "Optimize references"

$
0
0
Reporter Matt Bird (Matt.Bird) Matt Bird (Matt.Bird)
Created Jan 3, 2012 3:22:27 PM
Updated Jan 30, 2012 12:47:50 PM
Resolved Jan 30, 2012 12:47:50 PM
Priority Show-stopper
Type Bug
Fix versions Next
State Duplicate
Assignee Kirill Skrygan (kirillskrygan)
Subsystem No subsystem
Affected versions No Affected versions
Fixed in build No Fixed in build
Using the new "Optimize references" facility (ReSharper 6.1) on a WinForms project, within a solution with 50 projects. The R# managed memory displayed in the VS status bar spiked at 1.86GB and then an exception was thrown.

System specification:

Quad Core Intel i7 870 @ 2.93Ghz
4GB RAM
64bit Win 7 Enterprise
VS2010



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 = COR_E_OUTOFMEMORY=E_OUTOFMEMORY=8007000E

Source = JetBrains.Platform.ReSharper.Util

StackTraceString = “

  at JetBrains.Util.DataStructures.HybridDistinctCollection`1.Add(T item)

     at JetBrains.ReSharper.Psi.Impl.Caches2.SymbolCache.DeclarationsCacheBase.GetTypeElementsByCLRName(IClrTypeName clrTypeName)

     at JetBrains.ReSharper.Feature.Services.ReferencedCode.ReferencedCodeSearcher.<AddRetargetedTypeElement>d__28.MoveNext()

     at System.Linq.Enumerable.<OfTypeIterator>d__aa`1.MoveNext()

     at JetBrains.Util.OneToSetMap`2.AddRange(TKey key, IEnumerable`1 values)

     at JetBrains.ReSharper.Feature.Services.ReferencedCode.ReferencedCodeSearcher.UpdateRelatedElementsCache[T](SearchingContext`1 searchingContext, IClrDeclaredElement declaredElement)

     at JetBrains.ReSharper.Feature.Services.ReferencedCode.ReferencedCodeSearcher.ProcessSingleReference[T](IReference reference, SearchingContext`1 searchingContext, IReferencedCodeSearchHelper referencedCodeSearchHelper)

     at JetBrains.ReSharper.Feature.Services.ReferencedCode.ReferencedCodeSearcher.ProcessReferences[T](ICollection`1 projectFiles, KeyValuePair`2 keyValuePair, IFindResultConsumer`1 consumer, OneToSetMap`2 extensionMethodsCache, Boolean useRetargeting, Boolean includeRelated)

     at JetBrains.ReSharper.Feature.Services.ReferencedCode.ReferencedCodeSearcher.<>c__DisplayClass11`1.<ConsumeReferencedCodeUsages>b__3()

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





--- 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 = COR_E_APPLICATION=80131600

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 preserveSyncCtx)

     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