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來模擬具有通用參數的類型