vue-pdf-embed icon indicating copy to clipboard operation
vue-pdf-embed copied to clipboard

[Bug Report] Memory leaks after changing the page width

Open jackjtr opened this issue 1 year ago • 0 comments

Version: 2.0.3

Example:

<VuePdfEmbed
  v-bind="{
    source: {
      cMapPacked: true,
      cMapUrl,
      url,
    },
    rotation: state.rotation,
    width: state.viewerWidth,
    height: state.viewerHeight,
    disableAnnotationLayer: true,
    disableTextLayer: true,
  }"
/>

When previewing a large-sized pdf file, memory increases from 30 MB to 4 GB after changing the page width. While version 1.2.1 works well.

jackjtr avatar May 21 '24 12:05 jackjtr