In the last 48 hours I've had a couple of crashes and I know there has been a heavy load. The log file shows:
Out of memory error encountered in the source TS
Clearly, I need more memory, of which my machine has plenty. I run as a service. Here's what I think I understand.
The memory settings for the AwareIM server are in ...bin\wrapper.conf, where I have the following:
Initial Java Heap Size (in MB)
wrapper.java.initmemory=96
Maximum Java Heap Size (in MB)
wrapper.java.maxmemory=2048
So I believe I am feeding 2GB to the AwareIm Server.
The memory settings for Tomcat are in ...\tomcat\conf\wrapper.conf, where I have the same settings. So I believe I am feeding 2GB to the Tomcat server.
When the system crashed, I looked at the processes and both were well under 1GB each, like 5-600mb, and I've never seen either process breach 1GB. My server has 8GB.
So I am not sure that my wrapping settings are doing their job and I've never found any way to test Java for its memory allocation. Clearly, my system ran out of memory but I cannot understand how.
I note that Support previously stated:
"If you want to use more than 1024M of memory when running as a service you need to update to the 64-bit version of the Tanuki wrapper software. It's not free and you will need to pay for the license." I have the 64-bit license but have not installed it. Also, like I said, I don't think the system is consuming close to 1GB.