Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Memory usage: Discarding ASTs?

AST is released when you close editor usually. If you using Codan it has its own ast cache I think. How do you obtain  it?

On Mon, Aug 11, 2014 at 11:18 AM, Harmath Dénes <harmath@xxxxxxxxxxxxxxxx> wrote:
Hi everybody,

I'm parsing large source files with CDT programmatically. The index of the C project consumes 9-10 GB heap and the AST of one source file 3-4 GB. Since I need to analyze only one AST at a time, I could release the memory occupied by the current one after processing. How can I do this? (Or reduce the memory usage significantly?)

Thank you in advance,
cdt-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit

Back to the top