We recently ran into a java heap error when running /history/process-instance/set-removal-time on a large number of processes. I know I need to increase the heap settings but cannot understand whether to use CATALINA_OPTS or JAVA_OPTS. Our process engine runs standalone in a containers dedicated to Camunda.
Any advice? Thanks!