Hello
i have a recurring memory issue illustrated with the following error log:
java.sql.SQLException: java.lang.OutOfMemoryError: Java heap space
i’ve implemented somes mysql connections in my custom module. running ubuntu 14, 64gb of ram. java heap size set to 10240MB
could it be related to my mysql functions ? would it be safe to increase the heap size, or 10240 is the maximum ?
also, this error usually occurs after this: (its a edge / origin config. the errors and displayed logs occurs on the origin server)
LB XMLParser: xmlParse() Timed out reading from 'http://xx.xx.xx.xx:1935/loadbalancerInterface?command=AAAAd5zxHRe9ucZsWWA2x7dhguH8Ox5eXEme%252BNHHPVNrBs0Rh%252Be7LsmBfQGTA%252Fb%252FpKU215RAhMog%250ArWNjfTgYzIrTIeVKEAgW%252FKpd%252BA0wBqO%252BSEHaE61I1%252BrQBakyjGYm7pX2YVrWf9dSZpQK0YCl675F%250AJVaOZV%252BNJrSyRQ%253D%253D': java.net.SocketTimeoutException: Read timed out|at java.net.SocketInputStream.socketRead0(Native Method)|at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)|at java.net.SocketInputStream.read(SocketInputStream.java:170)|at java.net.SocketInputStream.read(SocketInputStream.java:141)|at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)|
any clue about something i might have done wrong ?
i understand that the timeout could be netword related, but a bit suprising considering that both edge and origins are in the same datacenter
thank you for your advices