We recently launched BMC Remedy 7.1. It’s been a great project learning the characteristics of a very powerful application platform. One of the issues we ran into, shortly after we launched our production server was the error “Exception in thread “Email Daemon” java.lang.OutOfMemoryError: Java heap space” in the stderr.log When looking through the Email Messages form, a large number of messages were also queued for delivery. Clearly, something was wrong as the server had 8 GBs of RAM, so any out of memory error message could only mean a configuration issue or worst case scenario, bad memory. If anyone else is in the same boat, here’s a solution that worked for us:
- Click on Start
- Click on Run
- Type regedit and press Enter
- Navigate to HKEY_LOCAL_MACHINE > SYSTEM > CurrentControlSet > Services > BMC Remedy Email Engine > Parameters
- Double click the JVM Option Count : REG_DWORD : 0x2
- Change the value from 2 to 4Â and click OK
- Click Edi t> New > String Value
- Enter JVM Option Number 2 as the Value name then enter –Xms128m as the Value data and click OK
- Click Edit > New > String Value
- Enter JVM Option Number 3 as the Value name then enter –Xmx512m as the Value data and click OK
- Restart BMC Remedy Email Engine