2017-12-05 13 views
0

neo4j 데이터베이스 관리 시스템에 쿼리하면 아래 오류가 발생합니다.Noe4j : 현재 작업을 수행 할 수있는 메모리가 부족합니다.

SEVERE: Servlet.service() for servlet [spring] in context with path [/connect_to_code] threw exception [Request processing failed; nested exception is org.neo4j.driver.v1.exceptions.TransientException: There is not enough memory to perform the current task. Please try increasing 'dbms.memory.heap.max_size' in the neo4j configuration (normally in 'conf/neo4j.conf' or, if you you are using Neo4j Desktop, found through the user interface) or if you are running an embedded installation increase the heap by using '-Xmx' command line flag, and then restart the database.] with root cause 
org.neo4j.driver.v1.exceptions.TransientException: There is not enough memory to perform the current task. Please try increasing 'dbms.memory.heap.max_size' in the neo4j configuration (normally in 'conf/neo4j.conf' or, if you you are using Neo4j Desktop, found through the user interface) or if you are running an embedded installation increase the heap by using '-Xmx' command line flag, and then restart the database. 
    at org.neo4j.driver.internal.net.SocketResponseHandler.handleFailureMessage(SocketResponseHandler.java:79) 
    at org.neo4j.driver.internal.messaging.PackStreamMessageFormatV1$Reader.unpackFailureMessage(PackStreamMessageFormatV1.java:457) 
    at org.neo4j.driver.internal.messaging.PackStreamMessageFormatV1$Reader.read(PackStreamMessageFormatV1.java:418) 
    at org.neo4j.driver.internal.net.SocketClient.receiveOne(SocketClient.java:176) 

나는 매개 변수 아래로 neo4j.conf 파일을 변경 한 :

dbms.memory.heap.initial_size = 1024G 
dbms.memory.heap.max_size= 1024G 

는 여전히 같은 문제에 직면.

이 오류가 발생하지 않도록하려면 어떻게해야합니까? C 드라이브 : 26.6 GB의 D 드라이브 : 67.6 GB RAM 32 GB

답변

0

귀하의 구성은 당신이 할 수 있습니다 1024G 말씀이 힙 할당하지만 내 드라이브 무료 크기는 다음과 같습니다 곳

나는 확실하지 않다 G가 아닌 1024M로 변경하십시오. 오타를 수정 한 후에도 오류가 계속 발생하면 힙 설정을 늘려보십시오.