-
Notifications
You must be signed in to change notification settings - Fork 171
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't override heap configuration #159
Comments
So, I was mistaken because inside the docker root /config is a real directory, and config is a symlink to /var/lib/neo4j/conf and somehow in docker land these can both coexist. Simply doing -v /docker-store/neo4j/conf:/conf is adequate. |
So I just checked whether configuration was being applied and its not:
|
So quick update, the memory settings in neo4j.conf are not used. You need to pass this to docker in order to increase the maximum heap size: --env=NEO4J_dbms_memory_heap_max__size=12G Maybe there is a better way to handle this? |
Didn't find this when I created #12130; apologies! What's happening is when you download the docker release, configurations that are normally commented out get added to |
lol I wasted a good 6 hours becuase of this. Guess Ill just try rollingback version until my configs are applied... |
@csvance @chrstnb @slothkong Sorry for taking so long to tackle this issue. |
@jennyowen |
@Kiollpt The settings that are still being overridden are:
I have some questions:
how are you restarting docker? |
I override dbms.memory.heap.max_size=1024M
|
@Kiollpt ok that's interesting. What happens if you change the conf and log mounting to this?
|
I could override neo4j.conf at /conf in the container. |
@Kiollpt See: And this section about the If I understood what you wrote correctly, your |
I write and then run I go into the container and But In addition to , I check the browser
it shows Does It really override my setting? |
@Kiollpt
Then ran:
I ran your cypher query in the browser but it still returned I got the same results if I mounted the host Could you provide some reproduction steps? |
@jennyowen It is weird. I did almost like you.
These are my steps. |
Not able to do remote debugging as per this as well - https://neo4j.com/docs/java-reference/current/server-debugging/ The dbms.jvm.additional is overridden in the final conf. |
@manojlds this should be fixed by #205 |
I had similar issues and just want to take a moment to politely curse Neo4j for the double |
I have tried everything at this point:
Nothing seems to stick, and this works for pretty much every other docker image I have ever used.
I saw another person had the issue, but was not able to successfully use their solution:
#95
The text was updated successfully, but these errors were encountered: