Skip to content
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

Failed to start HugeGraphServer, requires at least 512m free memory #1315

Closed
1170300802 opened this issue Dec 25, 2020 · 4 comments · Fixed by #1396
Closed

Failed to start HugeGraphServer, requires at least 512m free memory #1315

1170300802 opened this issue Dec 25, 2020 · 4 comments · Fixed by #1396

Comments

@1170300802
Copy link

Expected behavior 期望表现

{type something here...}

Actual behavior 实际表现

下载0.11.2Server后,inialized finished,尝试启动hugegraph-server.sh,报title中显示的错,内存可用大小绝对够。

Steps to reproduce the problem 复现步骤

  1. {step 1}
  2. {step 2}
  3. {step 3}

Status of loaded data 数据状态

Vertex/Edge summary 数据量

  • loaded vertices amount: {like 10 million}
  • loaded edges amount: {like 20 million}
  • loaded time: {like 200s}

Vertex/Edge example 数据示例

{type something here...}

Schema(VertexLabel, EdgeLabel, IndexLabel) 元数据结构

{type something here...}

Specifications of environment 环境信息

  • hugegraph version: 0.11.2
  • operating system: macOS Catalina10.15.6 2.6GHz, 32GB 2667 MHz DDR4
  • hugegraph backend: Hbase 2.3.3
@javeme
Copy link
Contributor

javeme commented Dec 25, 2020

@1170300802 建议通过top -l 1 -s 0 | grep PhysMem确认下

@1170300802
Copy link
Author

1170300802 commented Dec 25, 2020

@1170300802 建议通过top -l 1 -s 0 | grep PhysMem确认下
@javeme
PhysMem: 20G used (2730M wired), 12G unused.
内存是够的

log中还有这样一个错误:
hugegraph-0.11.2/bin/util.sh: line 171: 26Gunused: value too great for base (error token is "26Gunused")

@yangsirman
Copy link

这是macos下一个脚本的bug,util.sh的第157行替换一下free=$(($((top -l 1 | head -n 10 | grep PhysMem | awk -F',' '{print $2}'| awk -F'G' '{print $1}'))*1024))

@coderzc
Copy link
Member

coderzc commented Mar 23, 2021

已经修复,请查看 #1396

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants