question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Memory leak in dynamic rendering

See original GitHub issue

Hey. I ran into a memory leak issue when drawing a list. My application dynamically retrieves the shapes from the server and renders them using a v-for directive. After some time, the memory consumption is about 2 gigabytes and the browser crashes. When monitoring performance, you can see that there are a huge number of undeleted nodes and event subscriptions.

Снимок экрана от 2019-05-09 18-00-02 Снимок экрана от 2019-05-09 18-01-25

I give a part of the code at which there is a leak

<v-group>
	<v-rect v-for="plate in processedPlates" :key="plate.id" :config="plate.config"></v-rect>
</v-group>

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
lavrtoncommented, May 9, 2019

Fixed with the last release vue-konva@2.0.6. Try it.

0reactions
lavrtoncommented, May 9, 2019

Thanks for the report!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Hunting memory leaks in a server side rendered React ...
Our memory leak was caused by reselect and with the bad usage of styled-components, both problems were found by using Chrome DevTools. Backstory....
Read more >
Exploring Memory Leaks in Flutter from the Rendering Process
This article analyzes the memory allocation of Flutter, explains the rendering process, and proposes a solution for memory leaks based on ...
Read more >
Memory leak - Wikipedia
Typically, a memory leak occurs because dynamically allocated memory has become unreachable.
Read more >
Vue memory leak when rendered components are removed
My issue was solved by changing the way of passing my object. By changing the property to a number, in my case an...
Read more >
Memory Leak when dynamically assigning Collision Mesh ...
Edit: The reported issue about memory leak is when you remove rigidbody component from the entity. It should get destroyed fine, if you...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found