Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Memory usage issues: Discard large ASTs?
Memory usage issues: Discard large ASTs? [message #1406944] Mon, 11 August 2014 13:43
Denes Harmath is currently offline Denes HarmathFriend
Messages: 9
Registered: August 2014
Junior Member
Hi everybody,

I want to parse large source files with CDT: the index consumes about 9-10 GB heap and the AST of one file about 3-4 GB. I have to parse multiple files, and I don't have enough memory to store all ASTs. They don't have to be present in the memory at once, so after processing one file, I would like to discard its AST. How can I do this? (Or reduce the memory usage of the index and the ASTs significantly?)

Thank you in advance!
Previous Topic:Error when opening Debug Configurations
Next Topic:Eclipse slow after startup (for about 30 mins)
Goto Forum:
  


Current Time: Fri Apr 19 22:47:51 GMT 2024

Powered by FUDForum. Page generated in 0.02369 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top