Hog Help Index
 Hog! Help Index

 Introduction

 Hog is a stress-testing utility for Windows development. It is designed to deplete memory, disk space, file handles, and other system resources to aid a developer in seeing how a Windows application reacts to low memory situations.

  Read this before you continue!

 Using Hog can be dangerous. In low-memory situations, an application, and especially Windows itself, will act unpredictably. You may experience GP faults, and Windows may crash. Make sure you have saved all your work before you use Hog. Resource allocations made using Hog can be freed by closing Hog, or selecting  Free ALL... from the "Eat..." menu.

 Global Memory

 GDI Memory

 User Memory

 Disk Space

 File Handles

 Freeing Resources

 Menu Commands


Menu Commands

 To view help on Menu Commands, choose one of the following topics:

  Eat... Menu Commands

  Options Menu Commands

  Help Menu Commands

 See also:

 Index


Global Memory

 To allocate global memory, either press the down arrow on the spin button until the desired memory setting is reached, or type it into the edit control. The amount of available memory is shown in the "Global Memory:" window. Of course, you cannot allocate more memory than the total amount available. Understand that the setting you input is the MAXIMUM memory that will be left. It will more than likely be lower.

 See Also:

 GDI Memory

 User Memory

 Freeing Resources

 Index


GDI Memory

 To allocate GDI memory, either press the down arrow on the spin control until the desired memory setting is reached, or type it into the edit control. The current percentage of free GDI resources is shown in the "GDI" window.

 See Also:

 Global Memory

 User Memory

 Freeing Resources

 Index


User Memory

 To allocate User memory, either press the down arrow on the spin control until the desired memory setting is reached, or type it into the edit control. The current percentage of free User resources is shown in the "User" window.

 See Also:

 Global Memory

 GDI Memory

 Freeing Resources

 Index


Disk Space
Allocating Disk Space

 To allocate disk space, type in the MAXIMUM amount of disk space to leave free. Select the partition for Hog to create the allocation file on.

 Windows Partition:

 The allocation file will be created in the root directory of the drive where the active copy of Windows is.

 Current Partition:

 The allocation file will be created in the root directory of the drive where Hog is.

 Temp. Partition:

 The allocation file will be created in the root directory of the drive specified in the "TEMP" environment variable, as specified in the AUTOEXEC.BAT file.

 The allocation file, called STRESS.EAT, should be deleted should an error occur, and Hog is not allowed to terminate normally.

 See Also:

 File Handles

 Global Memory

 GDI Memory

 User Memory

 Freeing Resources

 Index


File Handles

 To allocate file Handles, either press the down arrow on the spin control until the desired setting is reached, or type it into the edit control. The current number of free file Handles is shown in the "Free File Handles" window.

 See Also:

 Disk Space

 Global Memory

 GDI Memory

 Freeing Resources

 Index


Freeing Resources

 System resources may be freed by selecting the appropriate buttons. To free all resources, select the " Free All... " button. The available resources are shown in the "Information:" window.

 See Also:

 Global Memory

 GDI Memory

 User Memory

 Disk Space

 File Handles

 Index


Free ALL
Free ALL...

 Frees all allocated resources. The same effect is achieved by closing Hog.

 See Also:

 Global Memory

 GDI Memory

 User Memory

 Disk Space

 File Handles

 Freeing Resources

 Index


Eat... Menu

 The "Eat..." menu provides access to the following commands:

  Global Memory

  GDI Memory

  User Memory

  Disk Space

  File Handles

  Freeing Resources

  Free ALL...

 See also:

  Options Menu

  Help Menu

  Commands

  Index


Options Menu

 The Options menu provides access to the following commands:

 Minimize on use

 When this option is checked, Hog minimizes its window after you select a button in any dialog box.

 See also:

  Eat... Menu

  Help Menu

  Commands

  Index


Help Menu

 The Help menu provides access to the following commands:

 Index

 Displays the Hog help index.

 Commands

 Displays help on menu commands in Hog.

 About...

 Displays Product information about Hog.

 See also:

  Eat... Menu

  Options Menu

  Index


Frees all System Resources. The same effect can be achieved by closing Hog.