http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45375
--- Comment #63 from Jan Hubicka <hubicka at gcc dot gnu.org> 2011-04-03 09:09:03 UTC --- Some stats on size of the compilation unit... There is 4.5GB of GGC memory, it gets down to 3.9MB after type merging and 3.1MB after cgraph merging. GIMPLE type table: size 524287, 374001 elements, 4447259 searches, 70070870 collisions (ratio: 15.755968) GIMPLE type hash table: size 8388593, 3907773 elements, 325621199 searches, 247539125 collisions (ratio: 0.760206) GIMPLE canonical type table: size 262139, 182719 elements, 655793 searches, 1461075 collisions (ratio: 2.227952) GIMPLE canonical type hash table: size 2097143, 863737 elements, 30341039 searches, 17653238 collisions (ratio: 0.581827) GIMPLE type comparison table: size 134217689, 70698639 elements, 153291912 searches, 154719852 collisions (ratio: 1.009315) [WPA] # of input files: 2721 [WPA] # of input cgraph nodes: 127466 [WPA] # of function bodies: 0 [WPA] GIMPLE type table: size 16381, 55 elements, 55 searches, 2 collisions (ratio: 0.036364) there are overall 600K cgraph nodes before merging, 127K from those do have function bodies. MMAP pool [WPA] Compression: 680146043 input bytes, 2436118544 uncompressed bytes (ratio: 3.581758) [WPA] Size of mmap'd section decls: 421187330 bytes [WPA] Size of mmap'd section function_body: 232170973 bytes [WPA] Size of mmap'd section statics: 9978045 bytes [WPA] Size of mmap'd section cgraph: 6356885 bytes [WPA] Size of mmap'd section vars: 225276 bytes [WPA] Size of mmap'd section refs: 1082929 bytes [WPA] Size of mmap'd section jmpfuncs: 8401591 bytes [WPA] Size of mmap'd section pureconst: 743014 bytes