hello
I?m trying to view a report with Tomcat Birt report viewer, when I filter the report with little time the report is fine, but when I filter with many time this show this message:
java.lang.ClassCastException: java.lang.OutOfMemoryError cannot be cast to java.lang.Exception
searching a solution I found that I have to increase java memory
1. I tried to to put this line in catalina.bat (but did not know exactly which site)
set CATALINA_OPTS="-Xms2048m -Xmx2048m"
2. I tried to to put this line in catalina.sh (but did not know exactly which site)
JAVA_OPTS = "-Djava.awt.headless = true-Dfile.encoding = UTF-8-servidor Xms512m-Xmx1024m-XX: NuevoTamano = 256m-XX: MaxNewSize = 256m-XX: PermSize = 256m-XX: MaxPermSize = 256m - XX: + DisableExplicitGC "
but I have no favorable outcome