maddogandnoriko Posted April 1, 2009 Share Posted April 1, 2009 I am loading a fairly large xml file (400-500k) into a simple xml object. When I am done using it do I need to "close" the xml object or unset it or anything? maddogandnoriko Quote Link to comment https://forums.phpfreaks.com/topic/152101-solved-xml-and-memory/ Share on other sites More sharing options...
premiso Posted April 1, 2009 Share Posted April 1, 2009 Nope, you should not need to. You can close it, but after the script runs the memory is generally dumped anyways. Doing it would just be an "ensuring" step in my opinion that it is indeed dumped. Quote Link to comment https://forums.phpfreaks.com/topic/152101-solved-xml-and-memory/#findComment-798799 Share on other sites More sharing options...
maddogandnoriko Posted April 1, 2009 Author Share Posted April 1, 2009 excellent. Thank you. maddogandnoriko Quote Link to comment https://forums.phpfreaks.com/topic/152101-solved-xml-and-memory/#findComment-798802 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.