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.

BUG: memory leak in 3D viz

See original GitHub issue

There is a memory leak in the animation: the more we play it, the more RAM is taken. The RAM can only be cleaned once we shutdown the notebook.

fig = p3.figure(width=500, height=500)
brain = p3.plot_trisurf(rr[:, 0], rr[:, 1], rr[:, 2], triangles=tris, color=brain_colors)
p3.squarelim()
p3.animation_control(brain, interval=1)
p3.show()

An example script, using data from MNE: https://gist.github.com/kingjr/cdadefbb5f522ab7450ead746dc0a5b2

memoryt_leak

(PS: sorry for opening so many issues…)

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
maartenbreddelscommented, Jan 17, 2018

Hi Jean-Rémi & Peter, thanks for the reports! Will take a look at this as soon as I can!

0reactions
pckrooncommented, Jan 24, 2018

58c30ed doesn’t seem to fix it for me, although it did help. 😦 My code can be found in #92.

Chromium Version 63.0.3239.84 (Official Build) Built on Ubuntu , running on Ubuntu 16.04 (64-bit)

If you need any other information, ask!

Read more comments on GitHub >

github_iconTop Results From Across the Web

MASSIVE memory leaks - Simplify3D User Forum
I'm working with fairly large models and I do frequent slice/preview/tweak settings cycles. After a while, S3D is using 5GB of ram, whereas...
Read more >
3DS Max 2021 Arnold CPU Rendering memory leaks
I guess the memory leaks are caused by each render() commands (probably an Arnold renderer issue). Any idea on how to fix this...
Read more >
Memory Leak #5458 - Unity-Technologies/ml-agents · GitHub
Describe the bug When training an agent my program ran to 10GB of memory usage. ... 3D Ball , where the agent needed...
Read more >
Creo 3.0 Memory Leak - PTC Community
I too am experiencing this with my visualization worker. All of a sudden it will start leaking memory and if not caught in...
Read more >
memory leak - xorg-server package : Ubuntu - Launchpad Bugs
When the Xorg process shows taking a lot of memory, it's usually a rogue client or the display driver leaking, and the xserver...
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