Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug Report] Memory leaks after changing the page width #214

Open
jackjtr opened this issue May 21, 2024 · 0 comments
Open

[Bug Report] Memory leaks after changing the page width #214

jackjtr opened this issue May 21, 2024 · 0 comments

Comments

@jackjtr
Copy link

jackjtr commented May 21, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant