提高eclipse在windows下的性能

来源:百度文库 编辑:神马文学网 时间:2024/04/30 01:24:59
在windows中,假如程序处理一定的状态下,会把memory放到paging里面。这样就降低了性能,但提高了memory的利用率。
打开windows注册表,  找到  HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory  Management\DisablePagingExecutive    值,  然后把这个值1。 这样应用程序就会一直使用物理内存了。
详细请看:http://technet2.microsoft.com/WindowsServer/en/library/3d3b3c16-c901-46de-8485-166a819af3ad1033.mspx?mfr=true
DisablePagingExecutive
Updated: March 28, 2003
DisablePagingExecutive
HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management
Data type Range Default value
REG_DWORD
0 | 1
0
Description
Specifies whether kernel-mode drivers and kernel-mode system code can be paged to disk when not in use.
Value Meaning
0
Drivers and system code can be paged to disk as needed.
1
Drivers and system code must remain in physical memory.
Activation Method
To make changes to this entry effective, you must restart the system.
Tip

Settingthis value to 1 is useful when debugging drivers, because all of thecode and data is always memory resident. It also improves performanceon machines with a lot of memory, because it prevents disk reads to getcode or data.