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

Popular posts from this blog

Add email recipient to all new Trac tickets -

400 Bad Request on Apache/PHP AddHandler wrapper -

php - Change action and image src url's with jQuery -