Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.
Urgent Error
-
The active alarms is showing this error message:
PreparedStatementCallback; uncategorized SQLException for SQL [select id, data from eventHandlers where eventTypeId=? and eventTypeRef1=? and (eventTypeRef2=? or eventTypeRef2=0)]; SQL state [XJ001]; error code [0]; Java exception: 'Java heap space: java.lang.OutOfMemoryError'.; nested exception is java.sql.SQLException: Java exception: 'Java heap space: java.lang.OutOfMemoryError'.
Help? :(
-
How much memory does your host system have? You can adjust the maximum heap size of your instance with options such as -Xmx. (Which you can set in your Tomcat start scripts. Look for the JAVA_OPTS setting.)
I believe the default max heap size in Java is 64MB. If you wanted to change this to 256MB, you would add the option "-Xmx256M".