I was asked today how to generate CPU and memory load on a Windows server. I remembered from my VMware ESX training a VBScript which generated load on the CPU, but had never seen a script to stress memory. So I hacked together a VBScript which has an infinite loop which just keeps creating large arrays and filling them with data. Eventually the script bombs with an out of memory error, just what I was after!
Feel free to use the CPU loading script (thanks to VMware and Xtravirt) and memory loading script but please do NOT use them on production systems!
Location
Level 13 (Regus)
92 Albert St
Auckland
We also have a virtual office in Wellington.
Contact Details
0800 000 141
Postal Address
PO Box 34797,
Birkenhead, Auckland 0746
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
1 Comment
zdasdasdasd