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

High memory usage in large images with many Stroke objects #11

Open
personalizedrefrigerator opened this issue Oct 1, 2022 · 0 comments
Labels
bug Something isn't working memory A memory or performance issue

Comments

@personalizedrefrigerator
Copy link
Owner

Describe the bug

A 13 MiB image can use 110-130 MiB of RAM after loaded by js-draw.

To Reproduce

Steps to reproduce the behavior:

  1. Create a very large image with many strokes.
  2. Open Chrome developer tools > Memory

Version: 0.5.0

@personalizedrefrigerator personalizedrefrigerator added bug Something isn't working memory A memory or performance issue labels Oct 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working memory A memory or performance issue
Projects
None yet
Development

No branches or pull requests

1 participant