This section explains an error message you may encounter while working in Horizon and how to resolve that error. This section will include additional error messages in future releases. (For information on error messages that display in Acquisitions, see “Error Messages” in the Acquisitions Setup Guide.)
Error: Unable to allocate shared memory
This error generally occurs while attempting to run multiple instances of Horizon Launcher, PUI Launcher, or other Horizon applications against different databases. This error indicates that the shared memory allocated to Horizon is insufficient to run all the applications at once.
Solution
You fix this problem by increasing the shared memory allocated to Horizon. By default, Horizon allocates 4MB (or 4096K) for shared memory. However, you can override this default by adding an environment variable named “HzShrMem” and setting its value to some other size (in kilobytes).
You add or change environment variables for a workstation in the System Properties settings. The steps below explain how to do this on Windows XP. These steps may vary if you are running a different version of Windows. If you are running Windows 95/98/ME, you must reboot before your changes will take effect.
To increase shared memory allocated to Horizon
1 | On the workstation where the error is occurring, close all Horizon applications. |
Important: Changes to the shared memory setting will not take effect if any Horizon processes are still running. Use the Windows Task Manager to verify that all Horizon processes are closed, or restart Windows.
2 | Click Start and choose My Computer. |
3 | Under System Tasks, choose View system information to display the System Properties window. |
To access this window in earlier versions of Windows, right-click on the My Computer icon on the desktop and choose Properties.
4 | Click the Advanced tab. |
5 | Click Environment Variables to display the Environment Variables window. |
6 | Under System Variables, click New to display the New System Variable window. |
7 | In the Variable name field, enter “HzShrMem”. |
8 | In the Variable value field, enter the amount of memory, in kilobytes, you want to allocate for Horizon shared memory. |
For example, you might enter “8192”, which is double the size of the default shared memory amount. Note that entering an amount that is too high could adversely affect system performance.
9 | Click OK three times to save your changes and exit System Properties. |
© 1998-2017 Sirsi Corporation