mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Add memory limits to neo4j deployment
I cannot increase the memory above "2G" without getting an error that no node has capacity for it. So I believe we have to change the kubernetes cluster if we want to assign more memory to neo4j. The other settings were suggested to me by neo4j-admin memrec: https://neo4j.com/docs/operations-manual/current/tools/neo4j-admin-memrec/
This commit is contained in:
parent
6cfa5fbdfc
commit
f206d40e86
@ -25,13 +25,20 @@
|
||||
- name: nitro-neo4j
|
||||
image: humanconnection/neo4j:latest
|
||||
imagePullPolicy: Always
|
||||
resources:
|
||||
requests:
|
||||
memory: "1G"
|
||||
limits:
|
||||
memory: "2G"
|
||||
env:
|
||||
- name: NEO4J_apoc_import_file_enabled
|
||||
value: "true"
|
||||
- name: NEO4J_dbms_memory_pagecache_size
|
||||
value: 1G
|
||||
value: "490M"
|
||||
- name: NEO4J_dbms_memory_heap_max__size
|
||||
value: 1G
|
||||
value: "500M"
|
||||
- name: NEO4J_dbms_memory_heap_initial__size
|
||||
value: "500M"
|
||||
- name: NEO4J_dbms_security_procedures_unrestricted
|
||||
value: "algo.*,apoc.*"
|
||||
envFrom:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user