Increasing the Memory of the eG Agent
The eG agent runs as a Java process. The maximum heap memory that can be allocated to an eG agent on Unix is 256 MB. If an eG agent has been configured to monitor many components, then, you may have to allocate more heap memory to the eG agent. In such a case, follow the steps below for a Unix agent:
- Login to the eG agent host.
- Edit the start_agent script in the /opt/egurkha/bin directory.
Look for the entry -Xmx in the file. If you do not find it, then, insert an entry of the following format:
For instance, if you want to allocate 2 GB (i.e., 2048 MB) of memory to the eG agent, your –Xmx specification should be as follows:
On the other hand, if you find the entry in the start_agent file, then simply alter the <Memory_allocation_to_the _eG_agent> to suit your specific needs.
- Finally, save the file.