BUG: memory leak in 3D viz
See original GitHub issueThere 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
(PS: sorry for opening so many issues…)
Issue Analytics
- State:
- Created 6 years ago
- Comments:9 (3 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi Jean-Rémi & Peter, thanks for the reports! Will take a look at this as soon as I can!
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!