Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] memory usage by macros during indexing

We have a source file that includes various generated header files that end up defining around a million short macros (e.g #define XYZ_FOO_BAR (12)).  Indexing this file takes 500-600MB beyond what's currently in use so that while the rest of the project can be indexed with an -Xmx setting of 640m (or less), the addition of this file requires at least -Xmx900m (1g to be safe).  Is the a bug in the indexing or something that is unavoidable?
 
Steve Kennedy
 

Back to the top