磁盘清理或以编程方式释放RAM [英] Disk Cleanup or Release RAM programmatically

查看:92
本文介绍了磁盘清理或以编程方式释放RAM的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,我们可以在vb.net中进行磁盘清理(如Windows 7)吗?

如何以编程方式通过vb.net释放内存?

解决方案

首先,您将收集大量要求,详细说明磁盘清理的含义。你清理的物品有哪些?你在哪里找他们?你可以清理什么样的东西,你应该触摸什么?这将是你的一部分研究,而不是我们的。



至于释放记忆,你没有。你绝对不要触及另一个进程的内存空间(你不能没有管理员权限!)除非你想让系统如此不稳定,否则它至少会崩溃一两个应用程序,最糟糕的是,所有Windows都崩溃。

hello, Can We make a disk cleanup(Like Windows 7) in vb.net?
And how to release RAM via vb.net programmatically ?

解决方案

First, you would gather a large set of requirements detailing exactly what you mean by "disk cleanup". What are the items you cleaning up? Where do you look for them? What kinds of things can you clean up and what are the things you should touch? This is going to take a bunch of research on your part, not ours.

As for "freeing memory", you don't. You absolutely do not touch the memory space of another process (you can't without admin permissions anyway!) unless you want to make the system so unstable it crashes at least an application or two, and at worst, all of Windows.


这篇关于磁盘清理或以编程方式释放RAM的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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