www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 11564] New: DParser seems to leak resources

reply d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11564

           Summary: DParser seems to leak resources
           Product: D
           Version: D2
          Platform: All
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: VisualD
        AssignedTo: nobody puremagic.com
        ReportedBy: turkeyman gmail.com



The process "COM Server for DParser"; after I've been running Visual Studio for
a while, this service grows to use a lot of resources.

The creeping memory is one thing, but I also experience creeping passive CPU
usage.
After a while, I see constant CPU usage sitting around 20% of my machine (which
is a very fast machine) while all other processes are idle, and my CPU fan is
running hard and noisy.

When I terminate Visual Studio, the process remains active and there is no
change in resource usage.
I find I have to manually terminate this process from time to time and restart
Visual Studio to stop it leaking.

Why would the idle CPU usage be leaking even if there's no client app running
and making use of the service?

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Nov 20 2013
next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11564


rswhite4 googlemail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rswhite4 googlemail.com



Please post it here: https://github.com/aBothe/D_Parser/issues
Alex does not read regularly here. Also it would be helpful if you give him
more information about your project, and if you have enabled specific settings,
e.g. the mixin resolution.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Nov 20 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11564





 Please post it here: https://github.com/aBothe/D_Parser/issues
 Alex does not read regularly here. Also it would be helpful if you give him
 more information about your project, and if you have enabled specific settings,
 e.g. the mixin resolution.
I didn't realise this process was strictly Alexander's engine. I thought it was VisualD that factored all if it's semantic analysis stuff into a separate process for garbage collection reasons? Is there an option for mixin resolution? I never saw that option anywhere... where should I find it? As far as I can tell, I'm running entirely default settings. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Nov 20 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11564




No, DParser is the work of Alex. ;)
For further questions ask him or take a look on his website. :)

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Nov 20 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11564


Rainer Schuetze <r.sagitario gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |r.sagitario gmx.de



PST ---
The CPU "idle" usage probably means it is running full speed on a single core.
I guess this happens because the engine is locked in some infinite loop.

Yes, Alexander's engine is now the default, as it is both faster and more
complete than the original engine in Visual D. You can switch back to the other
engine by disabling the Alexander's on the "Intellisense" page.

Both UFCS and mixin-analysis are enabled in the engine.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Nov 20 2013
prev sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11564




PST ---
I've updated to a new version of dparser, and made UFCS and mixin analysis
opt-in:
https://github.com/D-Programming-Language/visuald/releases/tag/v0.3.38beta1

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Nov 29 2013