I apologize if this is a duplicate, but I can't seem to find this answered anywhere.
What is the best way to increase the maximum Java heap size when using Apache Karaf?
Currently, I modified the following line in the karaf.bat file:
set DEFAULT_JAVA_OPTS=-server -Xmx<NewMaxValue>M
.
I feel like modifying the bat file is not the best solution. Additionally, none of the config files seem to have a place to put this.
Thanks