Codinion

  • Status Assigned
  • Percent Complete
    0%
  • Task Type Bug Report
  • Category Enhanced Syntax Highlighting
  • Priority Very Low
  • Reported Version 1.0.0.4810
  • Due in Version Undecided
  • Votes
  • Private
Attached to Project: Codinion
Opened by Tim Baumanns - 21.03.2017

FS#96 - High Memory Usage

The syntax highlighting currently comes at a cost of high memory usage. I've got a solution with ~18 Projects and a few thousand code-files. I already deactivated every codinion feature to get the feature which consumes so much memory. As soon as the Syntax highlighting is disabled, memory usage is again normal (after restarting visual Studio).

Without syntax highlithing: ~400MB

With syntax highlithing enabled: ~1300 MB

If you deactivate syntax highligthing and activate it again (without restarting visual studio) memory usage grows to >1900 MB, so it seems there is some kind of memory leak.

Used Visual Studio 2015 with the latest updates.

Admin
Martin Topfstedt commented on 21.03.2017 16:56

Hi,

thanks for reporting this. I will try to find out what causes the leak. If it bothers you, try Visual Studio 2017 with the "lightweight solution load" option enabled.

The syntax highlighting indeed needs the most memory. It recreates the solution for roslyn completly. Right now all projects are taken which have been loaded inside visual studio. I had an idea to improve this but Microsoft done it in Visual Studio before me with the lightweigt solution loading.

Another question, do you need all 18 projects in that solution? Are they all needed for building the main project? Are some probably just independent projects? Probably you can lighten up the solution a little.

 

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing