jimp-dev/jimp

Failing to read large files

开放

#915 创建于 2020年7月24日

 (31 条评论) (18 个反应) (0 位负责人)JavaScript (785 个派生)batch import
bughelp wantedsolution in issue

仓库指标

星标
 (13,218 个星标)
PR 合并指标
 (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?

贡献者指南