home *** CD-ROM | disk | FTP | other *** search
- RAMpage 1.4
- ===========
- 02/19/2000
-
- **** IMPORTANT NOTE ****
-
- If you have a previous version of RAMpage running on your machine,
- you should uninstall it before installing this version.
-
- License:
- ========
- This program is FREEWARE.
- You may distribute it freely provided the distribution is not for profit.
-
- (You CAN use it at work, but you CANNOT SELL it.) If you would like a
- distribution or support license for this software please contact the author.
-
- Purpose:
- ========
- RAMpage is a small Windows utility that displays the amount of available memory in
- an icon in the System Tray. When the icon is double clicked, the program attempts to
- free a predefined amount of memory. RAMpage can also be configured to free memory
- automatically when the amount of available memory drops below a predefined level.
-
- Installation:
- =============
- This software comes as a zipped setup file.
- It has install/uninstall programs and a configuration screen.
-
- Users who do not wish to use the installation tools can download the RAMpage
- executables directly from the author's web site. You may wish to do this for
- any of the following reasons:
- - You don't have administrator rights on NT, (required to do a full install).
- - You are running a version of Windows that the installation program does not
- recognize. (The installer runs on Windows 95, 98, 2000 and NT 4.0)
- - You do not want/need the uninstall program in your system directory, or you
- want more control over the locations and shortcuts for this software.
-
- File and Registry details are given in the User Guide below to help with
- manual uninstalls.
-
- Author/Technical Contact:
- =========================
- John Fitzgibbon
- email: fitz@jfitz.com
- web: http://www.jfitz.com/software/RAMpage
-
-
- ====================================================================================
-
- RAMpage USER GUIDE
-
- ====================================================================================
-
- 1. Quick Start
- ==============
-
- Most of the features of RAMpage can be controlled by the configuration screen that
- is displayed when RAMpage is selected from the Programs Menu. The default values
- should work well for most users.
-
- After clicking "OK", the RAMpage tray program is started. This creates a System Tray
- icon that shows the number of MB of free RAM.
-
- Double-clicking the icon attempts to free the amount of memory you specified in the
- configuration screen. Right-clicking the icon accesses a popup menu. The options are:
-
- Free Memory - Same as double-clicking the icon.
- Details - Lists total/available physical, page, (swap), and virtual memory.
- Help / Config - Displays the configuration screen.
- Exit - Quits RAMpage.
-
- If you set the "Free memory automatically" value to a non-zero value in the
- configuration screen, RAMpage will free memory automatically when available memory
- falls below the level you set.
-
- If you find RAMpage is slow to free memory, or you still have problems with
- applications running out of memory, please read the FAQs at:
- http://www.jfitz.com/software/RAMpage/RAMpage_FAQS.html
- The FAQs give some good starting points for tweaking your Windows settings. In many
- cases, a few basic tweaks can have a major impact on performance and reliability.
-
- The rest of this User Guide is mainly aimed at advanced users who do not want to use
- the installation and configuration features. The rest of us can stop reading here!
-
- ====================================================================================
-
-
- 2. Introduction
- ===============
-
- RAMpage is a small Windows utility that displays memory status information in an
- icon in the System Tray. In addition, it can be used to force Windows to free unused
- memory, either manually or automatically. I have found this particularly useful when
- doing heavy graphics processing - for instance my, (old), version of Paint Shop Pro
- sometimes runs out of memory after processing a file, but before saving it. RAMpage
- usually frees enough memory to allow me to save files in these emergency situations.
-
- The idea for the program came from J.Pajula's RamBooster which offers similar
- functionality. I wanted a "lean" version that could free memory with one double
- click, and which shows the current memory status all the time - RAMpage is it.
-
-
- 3. Using RAMpage
- ================
-
- When RAMpage is running, a System Tray icon shows the number of MB of free RAM.
-
- A Green Bar below the number means > 20% free RAM.
- A Yellow Bar means between 5% and 20% free RAM.
- A Red Bar means < 5% free RAM.
-
- Note: If your machine has over 1000M of RAM, a Green Bar indicates 1000M or more
- free RAM and Yellow indicates < 1000M. This is to compensate for the fact that there
- is only room to display 3 digits in the icon. In this case, "400" with a Green bar
- would indicate 1400M free, (or 2400M, 3400M, etc.), while "400" with a Yellow bar
- would actually mean 400M free. (To be honest, if you have over 1000M of RAM you
- probably don't need this program anyway.)
-
- Double-clicking on the icon attempts to free extra RAM.
-
- By default, RAMpage attempts to free 10M with each double-click, though this
- can be changed from the configuration screen or with a command line parameter.
-
- Right-clicking on the icon accesses a popup menu. The menu options are:
-
- Free Memory - Same as double-clicking the icon.
- Details - Lists total/available physical, page, (swap), and virtual memory.
- Help / Config - Displays the configuration screen.
- Exit - Quits RAMpage.
-
-
- 4. Command Line Parameters
- ==========================
- Note: All the values described here can be controlled from the configuration
- screen. You can skip the rest of this document if you are not interested in
- removing or bypassing the configuration screen.
-
- NOTE: THE VAST MAJORITY OF USERS DO NOT NEED TO USE COMMAND LINE PARAMETERS OR
- WORRY ABOUT CREATING STARTUP SHORTCUTS. IF YOU DO INTEND TO USE COMMAND LINE
- PARAMETERS PLEASE READ THIS SECTION FULLY. IN ADDITION PLEASE CONSULT THE FAQS
- IF YOU HAVE PROBLEMS. MOST PROBLEMS REPORTED TO ME ARE A RESULT OF
- MISUNDERSTANDINGS THAT ARE COVERED HERE OR IN THE FAQS.
-
- The command line may include any of the following parameters:
-
- B: Show values in the "Details" window in Bytes, (default is MBytes).
- LG, LW: Add LG or LW to default to "Luminous" Green or "Luminous" White digits.
- S: "Sound" - Beep when freeing memory automatically.
- O: "run Once" - performs a memory freeing operation then exits.
- (Useful for including in scripts/batch files.)
- U=X: X is number of seconds between updates, (default=5).
- M=Y: Y is number of MBytes to attempt to free, (default=10).
- T=Z: If RAM falls to, or below, Z MBytes the program attempts to free RAM.
- D=Y/N: Defragment freed memory into a single free chunk (Yes/No)
- (Default is to defragment if memory to free is less than 1/3 of total memory.)
- P=PATH: "PATH" specifies the path to the folder where RAMpageConfig.exe resides.
- If specified the Help/Config menu option will run RAMpageConfig.exe. The default
- is to display a short help message box. Normally, this option is only required
- if you are running the fully installed version of the program.
- Everything after the "P=" is included in the path. No quotes are required.
- NOTE: IF INCLUDED, THIS MUST BE THE LAST PARAMETER ON THE COMMAND LINE.
-
- Sample Command Line
-
- C:\Program Files\Accessories\RAMpage.exe LG U=2 M=20 T=3
-
- This command line tells the program to use luminous green numbers, to update the
- status every 2 seconds, to attempt to free an additional 20 MBytes or RAM when
- requested, and to automatically attempt to free RAM if the current free RAM is at
- or below 3 MBytes.
-
- Usage Notes:
-
- If the automated freeing feature does not succeed in freeing RAM, it will
- try less and less frequently to free RAM, (until memory is freed up, or the
- computer, or RAMpage, is restarted). This prevents a situation arising where the
- computer is maxed out but RAMpage keeps slowing things down by trying to free RAM
- every few seconds. When the interval between attempts to free RAM reaches 10
- minutes, RAMpage will continue to try to free memory once every 10 minutes. This
- is useful for fully automated systems, where memory may be (genuinely) tied up
- for a long time, but an app. is not freeing memory correctly. In this case,
- RAMpage will clean things up within 10 minutes of the app stopping.
-
- The "luminous" numbers may be easier to read if you've selected a very high
- resolution display on a small monitor.
-
- RAMpageH.exe is the "Hidden" version of the program. It takes the same parameters,
- but runs without the tray icon. This reduces the amount of memory required.
-
- To start the program automatically when Windows starts, place a shortcut to the
- executable in the Start Menu/Programs/StartUp folder. (Note: the configuration
- utility achieves the same effect with a Registry entry in HKEY_LOCAL_MACHINE.)
-
- DO NOT place a shortcut in the StartUp folder if you are using the fully installed
- version of the program - use the "Start when Windows starts" option in the
- configuration screen. This is a common mistake and causes the program to run
- twice at startup.
-
- If you ARE putting a shortcut in the Startup folder, remember that you MUST specify
- all the required parameters on the command line. You cannot run the configuration
- program, then place a shortcut with no parameters in the Startup folder. The
- configuration program does store parameters in the Registry, but the tray program
- DOES NOT read the Registry.
-
-
- 5. Manual Uninstall Information
- ===============================
-
- If you've messed up an install, or done a partial uninstall, or just want to
- "uninstall the uninstallers", here are the details you may need to clean up your
- system. (If you're not comfortable deleting system files and editing the registry,
- I'd strongly recommend leaving well enough alone.)
-
- 5.1 Files:
- ==========
- C:\WINDOWS\SYSTEM\Gksui16.exe - This 56K program stays even after a clean uninstall.
-
- You can remove it if you do not have other programs that were installed with the GK
- installation kit. (If in doubt, I'd recommend leaving this file to avoid possible
- problems with other uninstalls.)
-
- The program directory and its contents can be removed:
- GKDeReg.exe
- RAMpage.exe
- RAMpageH.exe
- RAMpageConfig.exe
- ReadMe.txt
- Uninstal.dat
-
- 5.2 Registry:
- =============
- All settings under: HKEY_CURRENT_USER/software/RAMpage can be removed.
-
- A value called "RAMpage" can be removed, (if it exists) from the following key:
- HKEY_LOCAL_MACHINE\software\Microsoft\Windows\CurrentVersion\Run
- (This is the key that supports the "Start RAMpage when Windows Starts" feature.)
-
- All settings under:
- HKEY_LOCAL_MACHINE\software\Microsoft\Windows\CurrentVersion\Uninstall\RAMpage
-
- If you removed C:\WINDOWS\SYSTEM\GKSUI16.EXE, then you can also remove
- a corresponding value "C:\WINDOWS\SYSTEM\GKSUI16.EXE" in:
- HKEY_LOCAL_MACHINE\software\Microsof\Windows\CurrentVersion\SharedDLLs
-
-
- 6. Credits and Acknowledgments
- ===============================
-
- The code for controlling the tray icon is based on an example by Michael T. Smith/
- R.A.M. Technology.
-
- Jonathan Teh, author of the excellent, (and free), MBProbe set me straight on how
- to make the tray bitmaps work on NT.
-
- The install/uninstall program, GKSetUp, is a freeware application by Gero Kuehn.
-
- The "official" testers for version 1.3 were Alex Schoenmakers, (NT) and
- Andrew Murphy, (Win 98). They showed great patience, and gave excellent feedback
- on the early prototypes. 1.4 evolved from user feedback. Thanks to all those users
- who brought bugs to my attention, and worked with me to test patches.
-
- Finally, many thanks to everyone who emailed me with comments and suggestions. I
- probably wouldn't have bothered without your support.
-
-
- 7. Revision History
- ===================
-
- 08/30/1999 1.0 - Original Version.
- 11/02/1999 1.1 - Fixed NT display problem.
- - Added "Luminous" digits.
- - Improved "Help" window, (but not much).
- 11/12/1999 1.2 - Optimized the code, (memory footprint now about 180K).
- - Rounds up/down to nearest MByte, (was truncating).
- - Added option to display "Details" in Bytes, (default is MBytes).
- 11/27/1999 1.3 - Added ability to automatically free RAM.
- - Added logic to prevent excessive automatic attempts to free RAM
- when memory is not being freed.
- - Added a configuration screen.
- - Added a help screen for choosing parameters.
- - Added standard install/uninstall, with Registry documentation.
- - Further optimized the core executable. Footprint is now 156K.
- - Fixed a bug that could cause a small memory leak. (Embarrassing!)
- 02/19/2000 1.4 - Default values in the configuration screen are now calculated more
- "intelligently". (They are based on the machines total memory.)
- - Added "Hidden" option, (allows program to run without tray icon).
- Running hidden means automated free only, but memory footprint is smaller.
- - Added Sound, ("S"), option. (Beeps when freeing memory automatically.)
- - Added memory Defragmentation, ("D"), option.
- "D=Y" means always defragment memory.
- "D=N" means never defragment.
- Default is to defragment only when freeing less than 1/3 of total memory.
- - Added Path, ("P"), option. If included the "Help/Config" menu item runs
- RAMpageConfig.exe using the specified Path. (Otherwise, the existing
- Help/About box is displayed.) Note: Path MUST be the last parameter.
- - Added option to run Once, ("O"). This does a free, then exits immediately.
- (Threshold, display and update intervals have no effect in this mode.)
- - Changed color definition for "white" from RGB=(0xFF,0xFF,0xFF) to
- (0xF0,0xF0,0xF0) to fix NT display of white as dark gray.
- Note: 256 color display on NT still shows up dark gray.
- Workaround is to use more colors or use the green digit type.
- - Fixed bug that caused tray icon to display upside down for some users.
- - Automatic freeing is never called if Threshold=0.
- (Previous version would do freeing if free memory was actually 0 bytes).
-
- ====================================================================================
-