zoukankan      html  css  js  c++  java
  • 桌面堆概述(二)

    我想提供一些关于桌面堆的后续信息。在第一篇文章中,我没有讨论64位Windows、3GB或Vista上与桌面堆相关的内存范围的大小。所以,不用再多说了,下面是各种平台上的相关大小。

    Windows XP (32-bit)

    · 48 MB = SessionViewSize (default registry value, set for XP Professional, x86)

    · 20 MB = SessionViewSize (if no registry value is defined)

    · 3072 KB = Interactive desktop heap size (defined in the registry, SharedSection 2nd value)

    · 512 KB = Non-interactive desktop heap size (defined in the registry, SharedSection 3nd value)

    · 128 KB = Winlogon desktop heap size

    · 64 KB = Disconnect desktop heap size

    Windows Server 2003 (32-bit)

    · 48 MB = SessionViewSize (default registry value)

    · 20 MB = SessionViewSize (if no registry value is defined; this is the default for Terminal Servers)

    · 3072 KB = Interactive desktop heap size (defined in the registry, SharedSection 2nd value)

    · 512 KB = Non-interactive desktop heap size (defined in the registry, SharedSection 3nd value)

    · 128 KB = Winlogon desktop heap size

    · 64 KB = Disconnect desktop heap size

    Windows Server 2003 booted with 3GB (32-bit)

    · 20 MB = SessionViewSize (registry value has no effect)

    · 3072 KB = Interactive desktop heap size (defined in the registry, SharedSection 2nd value)

    · 512 KB = Non-interactive desktop heap size (defined in the registry, SharedSection 3nd value)

    · 128 KB = Winlogon desktop heap size

    · 64 KB = Disconnect desktop heap size

    在运行3GB时,您还可能看到堆大小减小。在初始化窗口管理器期间,尝试保留足够的会话视图空间,以容纳给定会话的预期桌面堆数。如果在SharedSection注册表值中指定的堆大小已增大,则保留会话视图空间的尝试可能会失败。当这种情况发生时,窗口管理器会回到桌面堆的一对“安全”大小(交互式为512KB,非交互式为128KB),并再次尝试保留会话空间,使用这些较小的数字。这可以确保即使注册表值对于20MB会话视图空间来说太大,系统仍然能够引导。

    Windows Server 2003 (64-bit)

    · 104 MB = SessionViewSize (if no registry value is defined; which is the default)

    · 20 MB = Interactive desktop heap size (defined in the registry, SharedSection 2nd value)

    · 768 KB = Non-interactive desktop heap size (defined in the registry, SharedSection 3nd value)

    · 192 KB = Winlogon desktop heap size

    · 96 KB = Disconnect desktop heap size

    Windows Vista RTM (32-bit)

    · Session View space is now a dynamic kernel address range. The SessionViewSize registry value is no longer used.

    · 3072 KB = Interactive desktop heap size (defined in the registry, SharedSection 2nd value)

    · 512 KB = Non-interactive desktop heap size (defined in the registry, SharedSection 3nd value)

    · 128 KB = Winlogon desktop heap size

    · 64 KB = Disconnect desktop heap size

    Windows Vista (64-bit) and Windows Server 2008 (64-bit)

    · Session View space is now a dynamic kernel address range. The SessionViewSize registry value is no longer used.

    · 20 MB = Interactive desktop heap size (defined in the registry, SharedSection 2nd value)

    · 768 KB = Non-interactive desktop heap size (defined in the registry, SharedSection 3nd value)

    · 192 KB = Winlogon desktop heap size

    · 96 KB = Disconnect desktop heap size

    Windows Vista SP1 (32-bit) and Windows Server 2008 (32-bit)

    · Session View space is now a dynamic kernel address range. The SessionViewSize registry value is no longer used.

    · 12288 KB = Interactive desktop heap size (defined in the registry, SharedSection 2nd value)

    · 512 KB = Non-interactive desktop heap size (defined in the registry, SharedSection 3nd value)

    · 128 KB = Winlogon desktop heap size

    · 64 KB = Disconnect desktop heap size

    windowsvista引入了一个新的公共API函数:CreateDesktopEx,它允许调用者指定桌面堆的大小。
    此外,GetUserObjectInformation现在包含一个新的标志,用于检索桌面堆大小(UOI_HEAPSIZE)。

  • 相关阅读:
    安装SQL Server驱动到Maven仓库[转]
    Nuget 摘录
    删除除了Src属性以后的全部属性
    执行NET 命令无法使用超过20个字符的组名或用户名
    在EntityFramework中使用 nock的方法。
    两代码的区别
    SQLServer 执行计划
    win7电脑的账户被禁用了怎么办
    win10防火墙损坏如何修复
    win10摄像头在哪打开?
  • 原文地址:https://www.cnblogs.com/yilang/p/13580911.html
Copyright © 2011-2022 走看看