IMPORTANT: This article contains information about modifying the Microsoft® Windows Registry.
Before you modify the registry, make sure to create a backup of the registry and ensure that you understand how to restore the registry if a problem may occur.
For more information about how to back up, restore, and edit the registry, please review the relevant Microsoft Knowledge Base articles on support.microsoft.com.
Steps for setting maximum memory usage for Open Workbench:
- Start > Run, type in 'regedit' and click OK
- Drill down to
on 32 bits Windows OS such as XP: HKEY_LOCAL_MACHINE\SOFTWARE\Niku\Niku Workbench folder
on 64 bits Windows OS such as Win7: HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Niku\Niku Workbench
- Right click and select New > DWORD value
- Enter 'JavaMemoryLimit'
- Double-click 'JavaMemoryLimit'
- Select Base Decimal
- Enter a value in the Value Data field (Start with a value of 800, values higher then this can cause issues)
- Click OK and exit the registry
- When adding the new value 'JavaMemoryLimit' it should be created as a DWORD and the unit is in megabytes. Thus a decimal value of 256 would allow allocation of up to 256MB.
- When setting 'JavaMemoryLimit' the user would usually want to change the Base to be Decimal (not Hexadecimal) when setting the value.
- If a user sets 'JavaMemoryLimit' to a value that cannot be honored then you may see Workbench start up (flash) and immediately shutdown.