I am working on an ASP.NET page using C#. I have a label that I am outputting a large string to. Then I am clearing the label and outputting a large string to it again. I have been monitoring the memory usage of my browser, Chrome/IE, and have noticed that the memory keeps going up, even after I clear my label. It is important to note that I am using AJAX for this label so that the button only updates the label not the entire page.
For instance it starts using about 25mb. Then after I output a large string to the label it jumps to about 27mb. Then I clear the label, and it still sits around 27mb. Then if I repeat this process the memory usage keeps jumping by about 2mb/click.
Is this an obvious sign of a memory leak or does this have to do with the AJAX?
Any thoughts/links provided are appreciated!