Open DaveInCaz opened 4 years ago
Please ensure that Rubberduck is set to Trace
level logging, and attach the RD log (you can open the log folder from the Rubberduck | About
menu.
Also, very likely to be related to #3347 (if not a dupe).
Try disabling all inspections (set each one's severity level to "do not show"...a tool to do this automatically would be nice); assuming the OOM is caused by too many results (100+ inspections each potentially yielding hundreds of results quickly makes a lot of in-memory objects) and not merely the parse trees and associated metadata.
Top candidate inspections for most results produced typically include:
ByRef
unless specified otherwise; most should be passed Byval
)Public
unless specified otherwise; accessibility should be explicit)Inspections can then be re-enabled one at a time, results reviewed/fixed/ignored at any pace you like; note that both use meaningful names and Hungarian notation inspection can be configured to "white-list" specific identifiers and prefixes, such that only identifier names that aren't white-listed get flagged.
Rubberduck version information Version 2.5.0.5244 OS: Microsoft Windows NT 6.2.9200.0, x64 Host Product: Visual Basic x86 Host Version: 6.00.9782 Host Executable: VB6.EXE
Description Loaded a VB6 project group with 6 projects and then ran Code Inspections. It ran for a few minutes (GUI unresponsive) and then produced the exception below.
Let me know if there is any other specific information I can provide.
Thanks