Navigation

    数据用户治理组

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    如何调节控制台和保姆进程内存?

    官方FAQ
    控制台oom
    1
    1
    1118
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • junyu-cloudcanal
      junyu-cloudcanal last edited by

      简述

      控制台(console) 或保姆进程(sidecar)有时候遇到大量库表或者某些情况,出现卡顿或 OOM(java内存溢出),需要调大内存以便稳定运行。可按以下步骤调整。

      步骤

      • 登陆 console 容器
      • 找到启动脚本

        /home/clougence/cloudcanal/console/bin/startConsole.sh

      • 编辑脚本,找到JVM_HEAP_SIZE_MB变量,修改对应内存数量,建议 1~2 GB 即可
      • 重启 console 进程
      • 登陆 sidecar 容器
      • 找到启动脚本

        /home/clougence/cloudcanal/sidecar/bin/startSidecar.sh

      • 编辑脚本,找到JVM_HEAP_SIZE_MB变量,修改对应内存数量,建议 1~2 GB 即可
      • 重启 sidecar 进程
      1 Reply Last reply Reply Quote 0
      • 1 / 1
      • First post
        Last post
      Copyright © 2020 ClouGence, Inc.备案号:浙ICP备20007605号-2