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,
Dénes
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/cdt-dev


Back to the top