0
A
回答
1
由Sysinternals着名的Mark Russinovich提供了一个名为TestLimit的工具。你可以从:https://live.sysinternals.com/WindowsInternals/获得32和64位版本。
要分配1024 MB,你可以做到以下几点:
testlimit64.exe -d 1024 -c 1
,并通过按Ctrl +ç结束它。
下面的命令行选项是可用的:
C:\Users\\...>testlimit64.exe Testlimit v5.04 - test Windows limits By Mark Russinovich - www.sysinternals.com usage: testlimit [[-h [-u]] | [-p [-n]] | [-t [-n [KB]]] | [-u [-i]] | [-g [object size]] | [-a|-d|-l|-m|-r|-s [MB]] | [-w]] [-c [count]] -a Leak Address Windowing Extensions (AWE) memory in specified MBs (default is 1). -c Count of number of objects to allocate (default is as many as possible). This must be the last option specified. -d Leak and touch memory in specified MBs (default is 1). -g Create GDI handles of specified size (default 1 byte). Specify a size of 0 to cause GDI object exhaustion. -h Create handles. Specify -u to also allocate file objects. -i Exhaust USER desktop heap. -l VirtualLock memory in specified MBs (default is 1). -m Leak memory in specified MBs (default is 1). -p Create processes - add -n to set min working set. Add -n to set min working set of processes to smallest. -r Reserve memory in specified MBs (default is 1). -s Leak shared memory in specified MBs (default is 1). -t Create threads - add -n to specfy minimum stack reserve (in KB). -u Create USER handles to menus. -w Reset working set minimum to highest possible value.
相关问题
- 1. Ram + Swap JVM参数/工具?
- 2. 掌握模拟工具
- 3. 用于协议模拟的工具
- 4. 用于模拟CSS的最佳工具?
- 5. 模拟WPF用户控件的工具?
- 6. 有没有一种工具来模拟/模拟软件并发?
- 7. 找到Jquery的CPU和Ram使用的工具/插件
- 8. xcode:如何连接intruments使用模拟器泄漏工具?
- 9. 如何分析/优化模拟工具?
- 10. 生成模拟数据的工具?
- 11. Android模拟器没有工具栏
- 12. 实现与WSDL工具模拟服务
- 13. 运行预测模型时是否使用外部RAM工作?
- 14. 高RAM使用
- 15. WP7使用模拟器模拟Microsoft.Devices.Sensors.Compass
- 16. 有没有用于测试的Android模拟器工具包?
- 17. 在模拟器SDK工具的右侧启用键盘21.1
- 18. Sonarlint和其他用于模拟sonarqube的eclipse工具
- 19. HDFStore:table.select和RAM使用
- 20. 设计模式工具使用?
- 21. 确定Silverlight 4 Windows Sidebar小工具中的CPU和RAM使用情况
- 22. 模拟使用PHPUnit
- 23. 我们可以在iPhone模拟器中使用UI自动化工具吗?
- 24. 使用graphql工具来模拟一个GraphQL服务器似乎打破
- 25. 如何格式化DataGridView在虚拟模式下使用的工具提示?
- 26. 模拟一个具体类
- 27. Android模拟器RAM大小将导致错误
- 28. 如何从命令行更改android模拟器RAM大小?
- 29. 使用工具
- 30. 使用moq来模拟具有通用参数的类型