Hi everyone,

I built a map using C++, which contains 1833053 string keys, and the values are strings as well. It is quite reasonable that the memory use is increased during the map constrction. But, after the map is completed, I look at another big file line by line, and treat each line as a key, aiming to find the corresponding value in the map, I don't know why the memory use is still increased when using the map (rather than building the map.)

I suspect there is some memory leak. Could anyone tell me how to sort this out?