How to improve memory usage and performance while adding 1000000 values into Dictionary in C#.
While adding huge records I am getting "System out of Memory" Exception.
Can anyone help on this.
My Dictionary will be like below.
Dictionary<string, List<string>>
Thanks in advance.