Hog! - Windows stress-testing utility ................ Version 1.01 Copyright (c) 1992 VacNat Software, Inc. General Information ------------------- Hog! is a stress-testing utility for Windows application development. It is designed to deplete memory, disk space, file handles, and other system resources to aid a Windows developer in seeing how a Windows application reacts to low memory situations. Caution ------- It should be noted that in low memory situations, Windows applications will act unpredictably. It is almost certain that you will experience GP faults (Windows 3.1-speak for U.A.E.'s), and Windows itself may crash. This shouldn't be interpreted as a fault with Hog. It's designed to cause trouble, in (sort of) a controlled fashion. MAKE SURE YOU SAVE ALL YOUR WORK BEFORE USING HOG. Installation ------------ To install Hog, copy the files HOG.EXE, HOG.HLP, SPIN.DLL, BWCC.DLL, and STRESS.DLL to the same directory. The .DLL files can also be in the WINDOWS\SYSTEM directory. Global Memory ------------- Global memory represents the total amount of memory available in Windows. When you allocate global memory, the amount shown in the window is the MAXIMUM amount that will be left. It will more than likely be lower. Allocating Global Memory will cause the most drastic drop in Windows performance of all the different things you can do with Hog. GDI Memory ---------- This command allocates memory in the graphics device interface (GDI) heap until only the specified number of bytes is available. Before making any new memory allocations, Hog frees any memory previously allocated by the GDI Memory command. User Memory ----------- This command allocates memory in the USER heap until only the specified number of bytes is available. Before making any new memory allocations, Hog frees any memory previously allocated by the User Memory command. Disk Space ---------- This command creates a file that is large enough to ensure that the specified amount of space or less is available on the specified disk partition. The file, called STRESS.EAT, is created in the root directory of the disk partition. If STRESS.EAT already exists when this command is executed, Hog deletes it and creates a new one. The STRESS.EAT file can be in one of three places: On the same partition as the running copy of Windows, On the same partition as Hog, or on the root directory of the drive specified in the TEMP environment variable in the AUTOEXEC.BAT file. If you have to reboot during the use of Hog, you should delete the STRESS.EAT file. File Handles ------------ This function allocates file handles until only the specified number of file handles is available. If this or a smaller number of handles is available when this command is executed, no more file handles are allocated. Before allocating new handles, Hog frees any handles previously allocated. If you allocate ALL the file handles that are available, you won't be able to start any applications, or open any files in applications already running. Freeing Resources ----------------- You can free resources by using the "Free All" command in the "Eat..." menu, the "Free All..." button in the Eat...|Free Resources dialog box, or just by closing Hog. Copyright --------- Hog is a copyrighted work of VacNat Software, Inc. You can pass on copies of this program so long as you include this document file and the original program files. Comments/Problems ----------------- Please leave a note on the VacNat BBS, 913-764-8234. Address your questions to tech support. i.e., name=Tech Support Disclaimer/Registration ----------------------- Hog is distributed under the shareware concept. The software is distributed "as is" and without warranties either implied or expressed. If you try it and decide to use it, please send $20.00 to the address below: VacNat Software, Inc. 1003 S. Independence Harrisonville, MO 64701 Technical Support: VacNat BBS - 913-764-5958