Increasing the Memory Settings of the eG Agent on Windows
To increase the memory settings of the eG agent on Windows, do the following:
- Stop the eG agent.
- Edit the debugon.bat file in the <eg_agent_install_dir>\lib directory.
- In the file, search for the -Xrs entry.
-
Next to -Xrs, insert an entry of the following format: -Xmx<memory>m. For instance, to increase the maximum memory setting to 256 MB, the entry to be inserted should be: -Xmx256m (see Figure 1).
Figure 1 : Increasing the memory setting of an eG agent on Windows by editing the debugon.bat file
- Then, save the file.
-
Next, open the debugoff.bat file (in the <eg_agent_install_dir>\lib directory), and repeat steps 3 and 4 above (see Figure 2).
Figure 2 : Increasing the memory settings of an eG agent on Windows by editing the debugoff.bat file
- Finally, save the file, execute debugoff.bat, and restart the eG agent.