canvas-size: Memory leak

This library does not clean out the memory it’s using. Before Chrome uses 116mb, after calling

canvasSize.maxArea({
        onError: (width, height) => {
            console.warn('canvas.maxArea Error:', width, height);
        },
        onSuccess: (width, height) => {
            console.log('canvas.maxArea - width: ' + width.toLocaleString() +
                'px, height: ' + height.toLocaleString() + 'px');
        }
    });

Chrome now uses 1.1GB and does not release that additional 1GB (!).

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 15 (7 by maintainers)

Most upvoted comments

Fixed in 1.0.4.

Thanks for filing the issue!