You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fineract.apache.org by GitBox <gi...@apache.org> on 2022/06/21 11:34:31 UTC

[GitHub] [fineract] fynmanoj commented on a diff in pull request #2374: FINERACT:1644:Max Heap Space should be Configurable for Docker Image

fynmanoj commented on code in PR #2374:
URL: https://github.com/apache/fineract/pull/2374#discussion_r902507586


##########
docker-compose-postgresql.yml:
##########
@@ -94,3 +94,4 @@ services:
       - FINERACT_DEFAULT_TENANTDB_IDENTIFIER=default
       - FINERACT_DEFAULT_TENANTDB_NAME=fineract_default
       - FINERACT_DEFAULT_TENANTDB_DESCRIPTION=Default Demo Tenant
+      - JAVA_TOOL_OPTIONS="-Xmx5G"

Review Comment:
   Default value should be 1 GB



##########
kubernetes/fineract-server-deployment.yml:
##########
@@ -113,6 +113,8 @@ spec:
               key: password
         - name: FINERACT_DEFAULT_TENANTDB_CONN_PARAMS
           value: ''
+        - name: JAVA_TOOL_OPTIONS
+          value: '-Xmx5G'

Review Comment:
   Default value should be 1 GB



##########
docker-compose.yml:
##########
@@ -90,3 +90,4 @@ services:
       - FINERACT_DEFAULT_TENANTDB_IDENTIFIER=default
       - FINERACT_DEFAULT_TENANTDB_NAME=fineract_default
       - FINERACT_DEFAULT_TENANTDB_DESCRIPTION=Default Demo Tenant
+      - JAVA_TOOL_OPTIONS="-Xmx5G"

Review Comment:
   Default value should be 1 GB
   



##########
fineract-provider/build.gradle:
##########
@@ -256,8 +256,7 @@ jib {
         creationTime = 'USE_CURRENT_TIMESTAMP'
         mainClass = 'org.apache.fineract.ServerApplication'
         jvmFlags = [
-            '-Xmx1G',
-            '-Xms1G',
+            '-Xms5G',

Review Comment:
   keep the default value as 1 G
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@fineract.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org