Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RubberDuck crashes 32-bit host processing a very large project #5322

Open
RSquared64 opened this issue Dec 16, 2019 · 2 comments
Open

RubberDuck crashes 32-bit host processing a very large project #5322

RSquared64 opened this issue Dec 16, 2019 · 2 comments
Labels
bug Identifies work items for known bugs

Comments

@RSquared64
Copy link

Rubberduck version information
The info below can be copy-paste-completed from the first lines of Rubberduck's log or the About box:

Rubberduck version [2.4.1.5229]
Operating System: [Windows 10 Enterprise 64bit 1909]
Host Product: [MS Access 2016 Office365 32bit ]
Host Version: [VBA 7.1]

Description
During Parsing and opening the Code Explorer, RubberDuck crashes Access.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Parse or RubberDuck -> Navigate - > Code Explorer
  2. Click on the Refresh button on both items.

Expected behavior
Not exactly sure. This is the first time I installed RubberDuck and was looking forward to working with it.

Screenshots
If applicable, add screenshots to help explain your problem.

Logfile
Rubberduck generates extensive logging in TRACE-Level. If no log was created at %APPDATA%\Rubberduck\Logs, check your settings. Include this log for bug reports about the behavior of Rubberduck.
RubberduckLog.txt

Additional context
This is a large library file that I have developed over the years It is mainly just code and a lot of it > 200k lines of code.

@RSquared64 RSquared64 added the bug Identifies work items for known bugs label Dec 16, 2019
@retailcoder
Copy link
Member

Hi there,

Sorry this has been your experience thus far with Rubberduck! The logs indicate an OutOfMemoryException occurring during the parse... this is most likely related to #3347, which can be observed in very large projects, especially in 32-bit hosts.

Upgrading to a 64-bit Office install should help, if it's something that's possible.

Rubberduck isn't a lightweight add-in; in order to properly understand VBA code it needs to not only parse all the user code, but also load all referenced COM libraries and what types and members they define. While this works great for smaller projects, in larger projects and hosts with limited available memory (32-bit), having all this data in memory readily queryable is currently a problem.

@RSquared64
Copy link
Author

RSquared64 commented Dec 16, 2019 via email

@retailcoder retailcoder changed the title RubberDuck crashes Access RubberDuck crashes 32-bit host processing a very large project Dec 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Identifies work items for known bugs
Projects
None yet
Development

No branches or pull requests

2 participants