java.lang.OutOfMemoryError: Java heap space
Dumping heap to /usr/lib/vco/app-server/../app-server/logs/vco_2021-12-07_09:06_heap_dump.hprof ...
Heap dump file created [1697527497 bytes in 3.021 secs]
Terminating due to java.lang.OutOfMemoryError: Java heap space
Workaround:
NOTE: Please take note of the overall memory utilization of the VA prior to extending the Heap memory. It is important that enough memory is left available for the rest of the services so the VA resources have to be scaled up first.
Example: If the desired heap memory is 7g then the VA RAM should be increased with 4G respectively because the subtraction between the default heap value of 3g the desired heap memory is 4G.
Example: serverJvmHeapMax: 6g
prelude-vami-upgrade --force
kubectl -n prelude get pods -w
Important: Changes made in the file values.tpl are not persistent and they will be overwritten upon each next Cloud Release, therefore, the heap size value will be returned back to the default of 3g. It will be required to execute the above steps once again if the heap size has a value other than the default of 3g.