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

Why sometimes is it using too much memory ? #1877

Open
Andrew0914 opened this issue Jan 16, 2025 · 2 comments
Open

Why sometimes is it using too much memory ? #1877

Andrew0914 opened this issue Jan 16, 2025 · 2 comments

Comments

@Andrew0914
Copy link

My implementation uses a stage which can be adjusted to the available size, this operation is done very rarely.

Inside it has a layer that measures 4096 x 2160, this can be dragged or zoomed -/+.

You can draw freely on the layer.

I have followed all performance tips but sometimes after making several lines, moving the layer, etc., the memory usage rises from 800 MB to 1.2 GB.

On the Konva page there is an example of many nodes animating but I see none that take up as much memory as my implementation.

Any ideas, could it be because dragging everything redraws?

Thanks

@Andrew0914
Copy link
Author

This is an example in where I am seeing the memory usage.

Image

@lavrton
Copy link
Member

lavrton commented Jan 22, 2025

Did you try to run a memory profiler?

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

2 participants