{"action":"created","issue":{"url":"https://api.github.com/repos/neo4j/neo4j/issues/5785","labels_url":"https://api.github.com/repos/neo4j/neo4j/issues/5785/labels{/name}","comments_url":"https://api.github.com/repos/neo4j/neo4j/issues/5785/comments","events_url":"https://api.github.com/repos/neo4j/neo4j/issues/5785/events","html_url":"https://github.com/neo4j/neo4j/issues/5785","id":114044681,"number":5785,"title":"Java heap space out of memory error with neo4j 1.9.9 and Oracle java 8","user":{"login":"chiffa","id":1384395,"avatar_url":"https://avatars.githubusercontent.com/u/1384395?v=3","gravatar_id":"","url":"https://api.github.com/users/chiffa","html_url":"https://github.com/chiffa","followers_url":"https://api.github.com/users/chiffa/followers","following_url":"https://api.github.com/users/chiffa/following{/other_user}","gists_url":"https://api.github.com/users/chiffa/gists{/gist_id}","starred_url":"https://api.github.com/users/chiffa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chiffa/subscriptions","organizations_url":"https://api.github.com/users/chiffa/orgs","repos_url":"https://api.github.com/users/chiffa/repos","events_url":"https://api.github.com/users/chiffa/events{/privacy}","received_events_url":"https://api.github.com/users/chiffa/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/neo4j/neo4j/labels/kernel","name":"kernel","color":"0052cc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-10-29T13:01:17Z","updated_at":"2015-12-06T00:56:12Z","closed_at":null,"body":"I have had a code I have been running in production for two years that has been miserably failing with neo4j 1.9.9 and latest Oracle java 8 on the a new machine\r\n\r\nI am performing an inserting of a dataset from python code using bulbflow adapters, it seems that neo4j keeps all the data in the memory (no garbage collection?)\r\n\r\nWith 4 Gb of RAM allocated to neo4j java process, this amount of data saturates the machine and leads to failure:\r\n\r\n25 k nodes\r\n35 k relationships\r\n122k properties. \r\n\r\nWe are nowhere near 100 M nodes limit claimed by the doc for that amount of allocated RAM. \r\nWhat steps could I perform to figure out where is the problem and debug it? "},"comment":{"url":"https://api.github.com/repos/neo4j/neo4j/issues/comments/162260892","html_url":"https://github.com/neo4j/neo4j/issues/5785#issuecomment-162260892","issue_url":"https://api.github.com/repos/neo4j/neo4j/issues/5785","id":162260892,"user":{"login":"jakewins","id":182752,"avatar_url":"https://avatars.githubusercontent.com/u/182752?v=3","gravatar_id":"","url":"https://api.github.com/users/jakewins","html_url":"https://github.com/jakewins","followers_url":"https://api.github.com/users/jakewins/followers","following_url":"https://api.github.com/users/jakewins/following{/other_user}","gists_url":"https://api.github.com/users/jakewins/gists{/gist_id}","starred_url":"https://api.github.com/users/jakewins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakewins/subscriptions","organizations_url":"https://api.github.com/users/jakewins/orgs","repos_url":"https://api.github.com/users/jakewins/repos","events_url":"https://api.github.com/users/jakewins/events{/privacy}","received_events_url":"https://api.github.com/users/jakewins/received_events","type":"User","site_admin":false},"created_at":"2015-12-06T00:56:12Z","updated_at":"2015-12-06T00:56:12Z","body":"@chiffa understood. I'll mark this as a potential bug. \r\n\r\nMeanwhile; while Neo4j no longer ships with gremlin, the gremlin plugin for the server is community maintained and works at least up to Neo4j 2.1.x: https://github.com/neo4j-contrib/gremlin-plugin Might be worth trying?"}}