B
Bob
I'm wondering how much more memory an XmlDocument object takes than the
corresponding Xml string? I have some user data to store in ASP.NET session
and everytime it's used, an XmlDocument object is needed. If there's not
too much difference in the memory consumption, then saving the object would
make more sense than just saving the string.
On a side note, is there a way to find out the memory usage of a variable at
runtime? Does VS.NET debugging capability somehow do this?
corresponding Xml string? I have some user data to store in ASP.NET session
and everytime it's used, an XmlDocument object is needed. If there's not
too much difference in the memory consumption, then saving the object would
make more sense than just saving the string.
On a side note, is there a way to find out the memory usage of a variable at
runtime? Does VS.NET debugging capability somehow do this?