Closed 2867021781 closed 1 week ago
hugegraph版本0.12.0
要配置 HugeGraph 0.12.0 的最大内存设置,你需要修改 hugegraph-server.sh
脚本中的 MAX_MEM
变量。脚本中的相关部分如下:
# The maximum and minimum heap memory that service can use
MAX_MEM=$((32 * 1024))
MIN_MEM=$((1 * 512))
你可以将 MAX_MEM
的值更改为你想要的最大内存(以 MB 为单位)。例如,要将最大内存设置为 2048 MB,可以这样修改:
MAX_MEM=2048
MIN_MEM=512
这样就会将 HugeGraph 的最大内存分配设置为 2048 MB [1].
To continue talking to Dosu, mention @dosu.
已解决
Problem Type (问题类型)
None
Before submit
Environment (环境信息)
Your Question (问题描述)
请问一下hugegraph的最大内存在哪里配置?怎么配置?![image](https://github.com/apache/incubator-hugegraph/assets/73277908/ca97d3d8-f770-4b46-abcf-3a7d78077b8a)
Vertex/Edge example (问题点 / 边数据举例)
No response
Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)
No response