-6
當在樹視圖中爲許多節點執行下面的代碼時,出現outofmemory異常。在C#中加載xml時出現OutOfMemory異常
XmlTextReader reader = new XmlTextReader(vConditionPaths.InputLogXmlPath);
_inputItenLogDoc.Load(reader);
reader.Close();
哪裏vConditionPaths.InputLogXmlPath
是XML的路徑和_inputItenLogDoc
是被聲明爲一類的局部變量的XmlDocument
。
請幫
修復它?那裏有多少個節點。 32或64位? – TomTom 2011-12-21 09:32:20
'OutOfMemoryException'相當自我解釋。拋出的異常是什麼? – 2011-12-21 09:35:09