c# - Release memory from loaded xml? -
for example, if load xml , use whatever reason:
xdocument doc = xdocument.load("my.xml"); now have finished using , want release memory used it, initally tought setting null job not, proper way release used memory if possible ?
you doing proper thing. let gc worry when collects when there's pressure.
Comments
Post a Comment