楼主: iamyy7
收起左侧

[分享] 杀毒软件的内存占用是一个伪标准

  [复制链接]
中邪
发表于 2010-3-18 00:25:36 | 显示全部楼层
其实很有道理,确实值得思考
augustheart
发表于 2010-3-18 00:27:17 | 显示全部楼层
本帖最后由 augustheart 于 2010-3-18 00:32 编辑
都说说是用什么技术手段啊,要不就是意淫党。。
smilediy 发表于 2010-3-17 23:50

替楼主说吧,将本来在物理内存里面的数据强制移到虚拟内存中。具体的实现呢……刚刚google+msdn了一下,是用SetProcessWorkingSetSize 来实现的。
BOOL SetProcessWorkingSetSize(
  HANDLE
hProcess,                 // handle to process
  SIZE_T dwMinimumWorkingSetSize,  // minimum working set size
  SIZE_T dwMaximumWorkingSetSize   // maximum working set size
);

The working set of a process is the set of memory pages currently visible to the process in physical RAM memory. These pages are resident and available for an application to use without triggering a page fault. The size of the working set of a process is specified in bytes. The minimum and maximum working set sizes affect the virtual memory paging behavior of a process.

更好玩的用法:
If both dwMinimumWorkingSetSize and dwMaximumWorkingSetSize have the value -1, the function temporarily trims the working set of the specified process to zero. This essentially swaps the process out of physical RAM memory.
完全不占物理内存了。

当然,据说还有将内存占用转移到explorer中的手段,就不研究了。

不过……这个帖为啥这么多微点用户?其实微点对磁盘操作的影响不小呢。装个游戏然后看看安装过程中占CPU最大的是哪个进程。当初我在微点区里提出了这个问题,貌似没人能解救我。
不过说回来,微点也确实挺不错的,我公司还有份微点的企业版,可惜不适合我,我的工作性质导致我安装这些东西太频繁了。所以……最后浪费了套三年的正版
ybzx211
发表于 2010-3-18 00:57:03 | 显示全部楼层
嗯嗯,说的不错!
dv608
发表于 2010-3-18 07:33:08 | 显示全部楼层
杀毒软件的低资源占用是个极大的优点
sharks
发表于 2010-3-18 08:02:12 | 显示全部楼层
适合自己的才是最好的
sfzjn
发表于 2010-3-18 08:08:45 | 显示全部楼层
我用的红伞。。。
bbs2811125
发表于 2010-3-18 09:56:46 | 显示全部楼层
对于主流配置来说内存已经不是重点了
lhhsaga
发表于 2010-3-18 13:12:37 | 显示全部楼层
学习一下,又一种新的观点
shwkacwj
发表于 2010-3-18 20:28:27 | 显示全部楼层
KIS很流畅的说,好帖子,

还经常看见有人使用修改版的系统呢
wty
发表于 2010-3-20 21:42:47 | 显示全部楼层
学习了
您需要登录后才可以回帖 登录 | 快速注册

本版积分规则

手机版|杀毒软件|软件论坛| 卡饭论坛

Copyright © KaFan  KaFan.cn All Rights Reserved.

Powered by Discuz! X3.4( 沪ICP备2020031077号-2 ) GMT+8, 2024-4-20 13:12 , Processed in 0.088424 second(s), 13 queries .

卡饭网所发布的一切软件、样本、工具、文章等仅限用于学习和研究,不得将上述内容用于商业或者其他非法用途,否则产生的一切后果自负,本站信息来自网络,版权争议问题与本站无关,您必须在下载后的24小时之内从您的电脑中彻底删除上述信息,如有问题请通过邮件与我们联系。

快速回复 客服 返回顶部 返回列表