⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content

测试100次前30次3分钟音频,后70次50秒,内存增加到1.95GiB,使用funasr-runtime-sdk-cpu-0.4.7 ,推理结束内存一直不释放 #2778

@jinwater88

Description

@jinwater88

使用services: cpp-runtime-sdk: image: registry.cn-hangzhou.aliyuncs.com/funasr_repo/funasr:funasr-runtime-sdk-cpu-0.4.7 container_name: cpp-runtime-sdk ports: - "10095:10095" volumes: - ./models:/workspace/models command: > bash -c "cd FunASR/runtime && nohup bash run_server.sh \ --download-model-dir /workspace/models \ --model-dir damo/speech_paraformer-large-vad-punc_asr_nat-zh-cn-16k-common-vocab8404-onnx \ --certfile 0 \ --hotword /workspace/models/hotwords.txt > /tmp/runtime.log 2>&1 & tail -f /tmp/runtime.log" restart: unless-stopped healthcheck: test: ["CMD-SHELL", "bash -lc 'echo > /dev/tcp/127.0.0.1/10095'"] interval: 30s timeout: 5s retries: 3
测试脚本是:
如果调用次数增加岂不是,32G内存都不够用,这里有什么办法解决吗

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions