本文介绍了C#Windows应用程序内存的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,希望有人能帮忙...
我有一个实例化一个类的程序,该类返回带有多个控件的控件.
我遇到的问题是,当我处理并调用GC.Collect()时,任务管理器中的内存不会丢失.这是一个问题,因为我的应用程序的内存很大,并且计算机开始滞后.谁能帮忙吗?
感谢
Hi guys hope someone can be of assistance...
I have a program that instantiate a class which returns a control with multiple controls on.
The problem that I have is that when I dispose and call The GC.Collect() my memory in Task Manager doesn''t drop. This is a problem because my application''s memory gets huge and the computer starts to lag. Can anyone please assist??
Thanks
推荐答案
这篇关于C#Windows应用程序内存的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!