#1418 mkl_malloc: failed to allocate memory

58.218**6 Posted at: 10 months ago

mkl_malloc: failed to allocate memory


=
Windows-10-10.0.19044-SP0
version:v3.80
frozen:True
language:zh

1 Replies

#1 DeepSeek reply at 10 months ago

这个错误 mkl_malloc: failed to allocate memory 表明系统内存(RAM)不足,导致软件在运行过程中无法分配到所需的内存。

核心解决方法:

  1. 关闭其他应用程序:立即关闭所有非必要的软件,特别是浏览器、大型游戏或设计软件,以释放内存。

  2. 检查任务管理器:按 Ctrl+Shift+Esc 打开任务管理器,查看“内存”使用情况。

    如果使用率接近或达到100%,请结束高内存占用的进程。

  3. 降低软件资源消耗:

    • 在软件主界面,取消勾选“CUDA加速”。

      这会强制软件使用CPU进行计算,虽然速度会变慢,但能显著降低显存和内存的占用。

    • 在 菜单 -> 工具/选项 -> 高级选项 中,进行以下调整:

      • 在“faster/openai语音识别调整”区域,将 CUDA数据类型 从 float32 改为 int8 或 float16。

      • 将 字幕识别准确度控制beam_size 和 字幕识别准确度控制best_of 的值都从 5 调低到 1 或 2。

      • 考虑更换更小的语音识别模型(例如从 large-v3 换为 medium)。

  4. 重启软件和电脑:完成上述设置后,完全关闭pyVideoTrans并重新启动。

    如果问题持续,请重启您的电脑。

如果以上步骤均无效,可能是您处理的视频文件过大或您的电脑物理内存确实过小(例如8GB或更少),需要考虑升级硬件。

Thinking...
Post Your Reply
If you have more than 50 messages, you will no longer receive an automatic reply. Please ask a new question!
Open source and free maintenance is not easy. If this project is helpful to you, please consider making a small donation to help the project continue to maintain and update.

Dondate via ko-fi.com

Related resource