We have problems in cygnus. It is appearing this error in the log.
java.lang.OutOfMemoryError: Java heap space
We have changed the memory assigned to cygnus but we do not know if it is correct. The file modifcated is /usr/cygnus/bin/cygnus-flume-ng
################################
# main
################################
# set default params
FLUME_CLASSPATH=""
FLUME_JAVA_LIBRARY_PATH=""
####JAVA_OPTS="-Xmx20m"
JAVA_OPTS="-Xmx512m"
LD_LIBRARY_PATH=""
Could someone please tell us if it is produced by other possible error?