XMLDocument上的单声道内存泄漏

时间:2013-08-09 13:59:48

标签: mono xmldocument

我发现如果我在OSX上用MONO制作这个简单的项目,单声道过程的记忆会不断增长,是否有一些提示可以避免这种情况?

using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Xml;
using System.Collections.ObjectModel;
using System.Threading;

namespace testXML
{
    class MainClass
    {
        public static void Main (string[] args)
        {
            while (true) {
                XmlDocument oo = new XmlDocument (); 
            }
        }
    }
}

0 个答案:

没有答案
相关问题