Hai friends,
I am using sp_xml_preparedocument stored procedure to prepare the xmldocument. but unfortunately i forget to remove the documents.
I keep on creating the documents. At one stage, the following error will came
Server: Msg 6624, Level 16, State 2, Procedure sp_xml_preparedocument, Line 1
XML document could not be created because server memory is low. Use sp_xml_removedocument to release XML documents.
So, Now i want to remove all the xml document from cache memory immediately.
If u have a solution, pls post it.