[ https://issues.apache.org/jira/browse/UNOMI-729?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Serge Huber updated UNOMI-729: ------------------------------ Fix Version/s: unomi-1.9.0 (was: unomi-1.8.0) > Adapt config to remove unsuported usage of JAVA_MAX_MEM > ------------------------------------------------------- > > Key: UNOMI-729 > URL: https://issues.apache.org/jira/browse/UNOMI-729 > Project: Apache Unomi > Issue Type: Improvement > Affects Versions: unomi-1.6.0 > Reporter: David Griffon > Priority: Major > Fix For: unomi-2.2.0, unomi-1.9.0 > > > As now karaf is not supporting the parameter {{JAVA_MAX_MEM}} > https://issues.apache.org/jira/browse/KARAF-7071 > that Unomi is using as default configuration in the {{setenv}} > https://github.com/apache/unomi/blob/c1e70fe9fa1b53308e24e42197f858a9313e9cd5/package/src/main/resources/bin/setenv#L62 > We have to change that parameter to KARAF_OPTS values > {code} > export KARAF_OPTS="$KARAF_OPTS -Xmx2g" > {code} > We also need to update the documentation to match that change: > https://unomi.apache.org/manual/latest/#_deploying_into_an_existing_karaf_server > h2. Testing > Run jCustomer, ensure using any tool (jconsole for example) that the max heap > matches the setting. A way to increase the heap usage is to import geonames > entries. -- This message was sent by Atlassian Jira (v8.20.10#820010)