当前位置:网站首页>Neo4j running error occurred during initialization of VM incompatible minimum and maximum heap sizes spec
Neo4j running error occurred during initialization of VM incompatible minimum and maximum heap sizes spec
2022-07-28 07:05:00 【ithicker】
Operation instruction neo4j console The display error is as follows
WARNING: Max 1024 open files allowed, minimum of 40 000 recommended. See the Neo4j manual.
Starting Neo4j Server console-mode...
Using additional JVM arguments: -server -XX:+DisableExplicitGC -Dorg.neo4j.server.properties=conf/neo4j-server.properties -Djava.util.logging.config.file=conf/logging.properties -Dlog4j.configuration=file:conf/log4j.properties -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -Xms512m -Xmx1024 #as large as you canm
Error occurred during initialization of VM
Incompatible minimum and maximum heap sizes specified
I found many posts on the Internet and said yes java Memory size , But I think some of his mistakes look familiar, like the configuration at that time N4o4j Time parameters , So I suspect it's me Neo4j Parameter configuration problem , Open file neo4j-wrapper.conf,(sudo) vim neo4j-wrapper.conf
Later, I kept trying to wrapper.java.maxmemory=10240 The following notes ```#as large you kan`` Delete to run normally , give the result as follows :
[email protected]-12-7-ubuntu:/home/thicker/GNN/FIRST/neo4j/bin# neo4j console
WARNING: Max 1024 open files allowed, minimum of 40 000 recommended. See the Neo4j manual.
Starting Neo4j Server console-mode...
Using additional JVM arguments: -server -XX:+DisableExplicitGC -Dorg.neo4j.server.properties=conf/neo4j-server.properties -Djava.util.logging.config.file=conf/logging.properties -Dlog4j.configuration=file:conf/log4j.properties -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -Xms512m -Xmx10240m
2022-07-23 08:15:48.452+0000 INFO [API] Setting startup timeout to: 120000ms based on -1
2022-07-23 08:15:48.508+0000 INFO [Configuration] WARNING! Physical memory(8003MB) is less than assigned JVM memory(10451MB). Continuing but with available JVM memory set to available physical memory
2022-07-23 08:15:49.724+0000 INFO [API] Successfully started database
2022-07-23 08:15:49.777+0000 INFO [API] Starting HTTP on port :7474 with 40 threads available
2022-07-23 08:15:49.904+0000 INFO [API] Enabling HTTPS on port :7473
2022-07-23 08:15:49.905+0000 INFO [API] No SSL certificate found, generating a self-signed certificate..
2022-07-23 08:15:50.133+0000 INFO [API] Mounted discovery module at [/]
2022-07-23 08:15:50.159+0000 INFO [API] Loaded server plugin "GremlinPlugin"
2022-07-23 08:15:50.160+0000 INFO [API] GraphDatabaseService.execute_script: execute a Gremlin script with 'g' set to the Neo4j2Graph and 'results' containing the results. Only results of one object type is supported.
2022-07-23 08:15:50.160+0000 INFO [API] Mounted REST API at [/db/data/]
2022-07-23 08:15:50.162+0000 INFO [API] Mounted management API at [/db/manage/]
2022-07-23 08:15:50.162+0000 INFO [API] Mounted webadmin at [/webadmin]
2022-07-23 08:15:50.162+0000 INFO [API] Mounted Neo4j Browser at [/browser]
2022-07-23 08:15:50.204+0000 INFO [API] Mounting static content at [/webadmin] from [webadmin-html]
2022-07-23 08:15:50.243+0000 INFO [API] Mounting static content at [/browser] from [browser]
16:15:50.245 [main] WARN o.e.j.server.handler.ContextHandler - o.e.j.s.[email protected]{
/,null,null} contextPath ends with /
16:15:50.245 [main] WARN o.e.j.server.handler.ContextHandler - Empty contextPath
16:15:50.247 [main] INFO org.eclipse.jetty.server.Server - jetty-9.0.5.v20130815
16:15:50.267 [main] INFO o.e.j.server.handler.ContextHandler - Started o.e.j.s.h.[email protected]{
/,null,AVAILABLE}
16:15:50.340 [main] INFO o.e.j.w.StandardDescriptorProcessor - NO JSP Support for /webadmin, did not find org.apache.jasper.servlet.JspServlet
16:15:50.349 [main] INFO o.e.j.server.handler.ContextHandler - Started o.e.j.w.[email protected]660e8081{
/webadmin,jar:file:/home/thicker/GNN/FIRST/neo4j/system/lib/neo4j-server-2.1.5-static-web.jar!/webadmin-html,AVAILABLE}
16:15:50.703 [main] INFO o.e.j.server.handler.ContextHandler - Started o.e.j.s.[email protected]{
/db/manage,null,AVAILABLE}
16:15:50.903 [main] INFO o.e.j.server.handler.ContextHandler - Started o.e.j.s.[email protected]{
/db/data,null,AVAILABLE}
16:15:50.917 [main] INFO o.e.j.w.StandardDescriptorProcessor - NO JSP Support for /browser, did not find org.apache.jasper.servlet.JspServlet
16:15:50.918 [main] INFO o.e.j.server.handler.ContextHandler - Started o.e.j.w.[email protected]{
/browser,jar:file:/home/thicker/GNN/FIRST/neo4j/system/lib/neo4j-browser-2.1.5.jar!/browser,AVAILABLE}
16:15:51.097 [main] INFO o.e.j.server.handler.ContextHandler - Started o.e.j.s.[email protected]{
/,null,AVAILABLE}
16:15:51.105 [main] INFO o.e.jetty.server.ServerConnector - Started [email protected]{
HTTP/1.1}{
0.0.0.0:7474}
16:15:51.497 [main] INFO o.e.jetty.server.ServerConnector - Started [email protected]{
SSL-HTTP/1.1}{
0.0.0.0:7473}
2022-07-23 08:15:51.497+0000 INFO [API] Server started on: http://0.0.0.0:7474/
2022-07-23 08:15:51.498+0000 INFO [API] Remote interface ready and available at [http://0.0.0.0:7474/]
Then run the command ```neo4j start`` The display error is as follows
[email protected]-12-7-ubuntu:~# neo4j start
WARNING: Max 1024 open files allowed, minimum of 40 000 recommended. See the Neo4j manual.
Using additional JVM arguments: -server -XX:+DisableExplicitGC -Dorg.neo4j.server.properties=conf/neo4j-server.properties -Djava.util.logging.config.file=conf/logging.properties -Dlog4j.configuration=file:conf/log4j.properties -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -Xms512m -Xmx10240m
Starting Neo4j Server...process [17130]... waiting for server to be ready.... Failed to start within 120 seconds.
Neo4j Server failed to start, please check the logs for details.
If startup is blocked on a long recovery, use '/home/thicker/GNN/FIRST/neo4j/bin/neo4j start-no-wait' to give the startup more time.
Follow the prompts and run the instructions ```neo4j start-no-wait`` that will do
边栏推荐
- Result number of filled briquettes
- Servlet
- Three cache technologies -- localstorage, sessionstorage, cookies
- NAT-网络地址转换
- Test interview questions collection (II) | test tools (with answers)
- 360 compatibility issues
- DOM -- event chain, event bubble and capture, event proxy
- Repair the faulty sector
- 小甲鱼C(第五章循环控制结构程序567)break和continue语句
- Vmware workstation configuration net mode
猜你喜欢

MOOC Weng Kai C language week 3: judgment and circulation: 2. circulation

MOOC翁恺C语言 第四周:进一步的判断与循环:3.多路分支4.循环的例子5.判断和循环常见的错误

MOOC翁恺C语言第七周:数组运算:1.数组运算2.搜索3.排序初步

Shell script -- program conditional statements (conditional tests, if statements, case branch statements, echo usage, for loops, while loops)

MOOC Weng Kai C language fourth week: further judgment and circulation: 1. Logical types and operations 2. Judgment of cascading and nesting

Blue bridge code error ticket

DNS正向解析实验

Custom component -- data listener

MySQL installation and use

DNS domain name resolution
随机推荐
Custom component -- communication between parent and child components
OSI seven layer model
shell脚本——编程条件语句(条件测试、if语句、case分支语句、echo用法、for循环、while循环)
Method of designing test cases
Common models in software development
在转化词向量之前先转化为AST再转化为词向量的实现方法
Applet navigator cannot jump (debug)
Custom components -- slots
Results fill in the blank. How many days of national day are Sundays (solved by pure Excel)
FTP service
MOOC Weng Kai C language week 3: judgment and cycle: 1. Judgment
开虚拟机KALI2022.2下安装GVM
Shell script - "three swordsmen" awk command
MOOC Weng Kai C language week 7: array operation: 1. array operation 2. Search 3. preliminary sorting
DOM -- page rendering, style attribute operation, preloading and lazy loading, anti shake and throttling
Media set up live broadcast server
MOOC翁恺C语言第八周:指针与字符串:1.指针2.字符类型3.字符串4.字符串计算
SSH服务配置
Results fill in the blanks carelessly (violent solution)
Escape character notes