When writing scripts, various parts of the script may need to be stored in memory. It is possible to fill the available memory and then attempt to add more, which can create an overflow. When an overflow occurs, you will receive the followng error:
Error (M1108) Invalid Script - Out of Memory
The memory threshold setting defaults to 4 MB, but it is configurable so the ceiling can be raised.
The resolution to this issue will require a modification of the llmwdn32.ini file or if the LPS is running with settings "remapped" to the registry, it will require a registry key modification.
Note: An error making changes in the registry can have a detrimental effect on the health of your computer system. If you are not comfortable making these changes contact someone in your organization that is more experienced.
Determine if your LPS is running "remapped". Follow these steps:
Open the Loftware Configuration Utility.
Windows XP, 2003: Start | Control Panel | Loftware Print Server
Windows 7, 2008: Start | Programs | Control Panel | Loftware Print Server (32-bit)
Shift-F2 will create an "Advanced" tab.
Open the "Advanced" tab.
If the "Remap Ini Files To Registry" is checked you are "remapped".
Modify the Memory Threshold
If you are NOT "remapped", follow these steps:
Open the Loftware llmwdn32.ini file in notepad:
Windows XP, 2003: Start | Run | Type: llmwdn32.ini
Windows 7, 2008: Start | All Programs | Loftware Labeling | System Folders | Configuration | llmwdn32.ini
If found: Add the following line under the heading:
If not found: Add the following 2 line to the end of the file:
If you are remapped, follow these steps:
Windows XP, 2003: Start | Run | Type: Regedit
Windows 7, 2008: Start | "Search Programs and Files" dialog | Type: regedit | Select regedit.exe
Navigate to the following key:
Windows XP, 2003 32 bit: HKEY_LOCAL_MACHINE\SOFTWARE\Loftware, Inc.\llmwdn32.ini
Windows 7, 2008 64 bit: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Loftware, Inc.\llmwdn32.ini
If it does not exist you will need to create it.
Create a new String value:
If the increased value is sufficient you will no longer receive the referenced error. If the new value is not sufficient you can increase it again. It is recommended that you use 4MB increments.