Unverified Commit f419c16d authored by damon09273@gmail.com's avatar damon09273@gmail.com Committed by GitHub

Fixup Neo4j pod OOM by adjust DBMS config (#409)

* Update README for Neo4j DBMS configs issue

* Fix Neo4j OOM by adjust DBMS configs
parent 19522dd9
...@@ -110,9 +110,9 @@ You may want to override the default memory usage for Neo4J. In particular, if y ...@@ -110,9 +110,9 @@ You may want to override the default memory usage for Neo4J. In particular, if y
``` ```
config: config:
dbms: dbms:
heap_initial_size: 2Gi heap_initial_size: 1G
heap_max_size: 2Gi heap_max_size: 2G
pagecache_size: 2Gi pagecache_size: 2G
``` ```
With this values file, you can then install Amundsen using Helm 2 with: With this values file, you can then install Amundsen using Helm 2 with:
......
...@@ -289,11 +289,11 @@ neo4j: ...@@ -289,11 +289,11 @@ neo4j:
## ##
dbms: dbms:
## neo4j.config.dbms.heap_initial_size -- the initial java heap for neo4j ## neo4j.config.dbms.heap_initial_size -- the initial java heap for neo4j
heap_initial_size: 23000m heap_initial_size: 1G
## neo4j.config.dbms.heap_max_size -- the max java heap for neo4j ## neo4j.config.dbms.heap_max_size -- the max java heap for neo4j
heap_max_size: 23000m heap_max_size: 2G
## neo4j.config.dbms.pagecache_size -- the page cache size for neo4j ## neo4j.config.dbms.pagecache_size -- the page cache size for neo4j
pagecache_size: 26600m pagecache_size: 2G
## ##
## neo4j.persistence -- Neo4j persistence. Turn this on to keep your data between pod crashes, etc. This is also needed for backups. ## neo4j.persistence -- Neo4j persistence. Turn this on to keep your data between pod crashes, etc. This is also needed for backups.
...@@ -377,4 +377,4 @@ elasticsearch: ...@@ -377,4 +377,4 @@ elasticsearch:
# resources: # resources:
# limits: # limits:
# cpu: 2 # cpu: 2
# memory: 2Gi # memory: 2Gi
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment