[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [cdt-dev] Memory usage
|
turnham@xxxxxxxxxx writes:
> Yes this is a known issue...The quick answer to your question is that Yes
> there is a way to control how much memory the parser uses. If you
> "right-click" on your project and choose "Properties", one of the available
> options is "Parse Quality". By default this is set to the Maximum, but
> moving the slider to the left will decrease the amount of work the parser
> does and the information it stores. Of course changing the parse quality
> will affect the depth of information provided. (You'll have to remove your
> project's parse information and re-parse for the change to take effect).
>
> At the "highest" setting the parser does (or tries to do) a relatively
> complete job of parsing right down to the statement\identifier level and
> creates references such as "variable uses", "function callees\callers",
> etc. At the "lowest" setting the parser will only show the highest level
> objects (classes, functions, etc).
Right, I see. Perhaps the thing to do would be to generate a prompt
that says
"You have run out of memory while trying to parse this object.
You might be able to complete the parse by reducing the parse depth.
See <http://foo.bar.barf>"
Thanks for the prompt reply.
Andrew.