While trying some synonyms.txt files I noticed a huge increase of heap usage.
synonyms_1.txt --> 6645 lines (2826104 bytes in size) results in 66364 entries in SynonymMap with 730MB heap usage. Startup time about 2 minutes. synonyms_2.txt --> 6645 lines (5384884 bytes in size) results in 115168 entries in SynonymMap with 3.3GB heap usage. Startup time about 4 minutes. What is your size of synonyms.txt? Any limitations (e.g. file size, number of synonyms, ...)? How to deal with _really_ large numbers of synonyms? To the experts: Why not using synonyms from a file, just because memory is faster? Regards, Bernd