Java heap space Problem
Hi friends,
I have a problem with a process and a ui-grid that shows this kind of essues "Java heap space". The problem arrives when in my process I try to import 3000 records of one shot. The process ends with the error in logs:
"SEVERE: org.bonitasoft.web.rest.server.api.resource.CommonResource USERNAME=walter.bates | java.lang.OutOfMemoryError: Java heap space".
I've workaround it importing from 4 little files csv. But when I try to show the records in an ui-grid screen, the grid is empty and same error is showing in logs.
Literature of java recommends change memory parameters : example JAVA_OPTS=-Xms512M -Xmx1024M and restarting Tomcat.
Have you other ideas or experimenting same problem?
My version is Bonita 7.7.4 with a bundle Tomcat.
Thanks in advance
Walter
Hello,
You can edit these parameters in the "tomcat-templates/setenv.(bat|sh)" file of the platform configuration.
Check this documentation page to learn how to pull/edit/push the platform configuration from an installed platform.
HIH,