摘要:
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Drawing.Text; using System.Drawing.Drawing2D; usi... 阅读全文
posted @ 2018-02-05 19:03
_小马哥
阅读(686)
评论(0)
推荐(0)
摘要:
1、使用性能测试工具dotTrace 3.0,它能够计算出你程序中那些代码占用内存较多 2、强制垃圾回收3、多dispose,close4、用timer,每几秒钟调用:SetProcessWorkingSetSize(Process.GetCurrentProcess().Handle, -1, - 阅读全文
posted @ 2018-02-05 11:27
_小马哥
阅读(419)
评论(0)
推荐(0)

浙公网安备 33010602011771号