在任务管理器上删除或删除申请表 [英] Delete or Remove application form on Task Manager

查看:108
本文介绍了在任务管理器上删除或删除申请表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的,
在我运行应用程序之前,任务管理器的内存为10,253k,但是当我运行我的应用程序和frmsearch时,任务管理器的内存已更改为15,253k,
因此,当我关闭frmsearch时,内存通常更改为10,253k,但没有更改.
thnks

hi dears,
before i run my applicattion,Task Manager memory is 10,253k but when i run my Application and frmsearch,Task Manager memory changed to 15,253k,
so it''s usual when i close frmsearch,memory changed to 10,253k but it''s dosn''t changed.
thnks

推荐答案

.net中的内存已被垃圾回收器回收,这是为了减少内存,这将需要时间(假设您在应用程序中正确释放了资源).

如果您担心内存占用,请尝试(在调试应用程序中使用以下代码)(不建议这样做,除非您知道自己正在做什么,因为它弄乱了框架的内部内存结构).

Memory in .net is reclaimed by the garbage collector, for this to reduce your memory it will take time (given you release resources correctly in your application).

If you are worried about the memory footprint try (not recommended unless you know what you are doing as it messes with the frameworks internal memory structures) the following code in your debug application.

GC.Collect(2);


这篇关于在任务管理器上删除或删除申请表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆