清除Windows内存 [英] Clear windows memory

查看:117
本文介绍了清除Windows内存的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们如何在胜利10中清除记忆


解决方案

你好lumlei,


感谢您在此发帖。


>>清除Windows内存


如果要在没有代码的情况下清除Win10中的Windows内存,可以尝试在Windows 10中使用磁盘清理。


https://support.microsoft.com/en-us/help/4026616 / windows-disk-cleanup-in-windows-10


>> 我们如何在win 10中清除记忆


如果要在Win10中清除应用程序的内存,高级功能是使用
垃圾收集器(CG)API 。一般来说, 我们将使用  GC.Collect Method()
强制立即垃圾所有世代的集合。但是,垃圾收集非常难以手动控制它。 


我们建议使用 System.IDisposable.Dispose with

尽可能使用声明
。 


最好的问候,


温迪


How do we clear memory in win 10

解决方案

Hi lumlei,

Thank you for posting here.

>>Clear windows memory

If you want to clear windows memory in Win10 without code, you could try to use Disk cleanup in Windows 10.

https://support.microsoft.com/en-us/help/4026616/windows-disk-cleanup-in-windows-10

>>How do we clear memory in win 10

If you want to clear memory for application in Win10, the advanced feature is using the Garbage Collector (CG) API. In general,  we will use the GC.Collect Method () to force an immediate garbage collection of all generations. But Garbage collection is very hard to improve controlling it manually. 

We suggest to use System.IDisposable.Dispose with using statement whenever possible. 

Best Regards,

Wendy


这篇关于清除Windows内存的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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