[ODLPARENT-294] JAVA_MAX_MEM has no effect Created: 18/Nov/22 Updated: 25/Jan/23 Resolved: 25/Jan/23 |
|
| Status: | Resolved |
| Project: | odlparent |
| Component/s: | Karaf |
| Affects Version/s: | 12.0.0, 11.0.2, 10.0.4 |
| Fix Version/s: | 12.0.2, 10.0.6, 11.0.5 |
| Type: | Bug | Priority: | Medium |
| Reporter: | Sangwook Ha | Assignee: | Robert Varga |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
Since v4.3.0 Karaf does not support the environment variables to set max/min heap memory (JAVA_MAX_MEM/JAVA_MIN_MEM): KARAF-6887, KARAF-7071 However, odlparent still applies a patch to add this to setenv: if [ "x$JAVA_MAX_MEM" = "x" ]; then
export JAVA_MAX_MEM="2048m"
fi
This gives a wrong impression that max heap size is set to 2GB by default and JAVA_MAX_MEM is a valid configuration option. |