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.

Large memory leaks.

See original GitHub issue

Describe the bug

Hey! Been using anime in A-Frame, an open source WebVR framework. Love it. Though there is a lot of memory leak that can lead to GC pauses.

Taken from a few seconds from the anime homepage, it’s allocated hundreds of kilobytes of memory garbage.

screen shot 2019-01-09 at 5 10 48 am

This issue can be alleviated for free with these practices:

This is something I could try to help out with.

To Reproduce Steps to reproduce the behavior:

  1. Go to anime homepage (or any anime animation).
  2. Open devtools memory / performance.
  3. Record memory.

Expected behavior Little memory garbage / allocations.

Desktop (please complete the following information):

  • OS: macOS
  • Browser firefox

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:21
  • Comments:17 (9 by maintainers)

github_iconTop GitHub Comments

12reactions
ngokevincommented, Jan 19, 2019

I believe this issue should be constrained to memory leaks versus unit testing, linting, and Typescript.

9reactions
juliangarniercommented, Jan 11, 2019

Alright, I’m going to focus on this for 3.1. I created a branch called memory plumbing, any help on this is welcome! Thanks !

Read more comments on GitHub >

github_iconTop Results From Across the Web

Memory leak - Wikipedia
In computer science, a memory leak is a type of resource leak that occurs when a computer program incorrectly manages memory allocations in...
Read more >
How do I check for memory leaks, and what should I do ...
This is known as a memory leak, and it happens when software fails to manage the available RAM correctly.
Read more >
Java Memory Leaks: Solutions, Tools, Tutorials & More - Stackify
We put together this guide to help you understand how, why, and where Java memory leaks happen – and what you can do...
Read more >
Understanding Memory Leaks in Java - Baeldung
A Memory Leak is a situation where there are objects present in the heap that are no longer used, but the garbage collector...
Read more >
What is Memory Leak? How can we avoid? - GeeksforGeeks
Memory leak occurs when programmers create a memory in heap and forget to delete it. The consequences of memory leak is that it...
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 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