jimp-dev/jimp

Failing to read large files

Open

#915 创建于 2020年7月24日

在 GitHub 查看
 (31 评论) (18 反应) (0 负责人)JavaScript (785 fork)batch import
bughelp wantedsolution in issue

仓库指标

Star
 (13,218 star)
PR 合并指标
 (30 天内没有已合并 PR)

描述

I'm trying to use Jimp to process images that are about 70-100 MB in size. However, I get the following error

// image is 87.7 MB
Jimp.read('big-image', (err, img) => {
  console.log(err)
})
> Error: maxMemoryUsageInMB limit exceeded by at least 226MB

Is there any way around this?

贡献者指南