Skip to main content

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

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


Back to the top