I take that back. I just had the problem again today. It was up to 3.2 GBytes.
- 1 month later...
Just a note on this. Not sure if it's still active. But Mac High Sierra, Cura 3.6.0, Octoprint and recently added Octolapse and a cam.
I had no Memory warnings or errors or ran out of Application memory before adding Octolapse or the cam
My Mac has seen Cura using as much as 65GB while sitting idle. In fact last night I left things on and Cura running (no print jobs, no octoprint windows open. Just Cura and it ballooned from 356KB to over 45GB of Memory use.
This is a leak, and significant. Now as I said before I just installed Octolapse and prior to that I had not seen these errors. But also note, before this I didn't have my cams hooked up either, so Octolapse itself could be a red herring. And as the dev stated, it could be tied into the camera piece. However if I don't have a browser up, how is octoprint then eating my memory Via Cura? There is no active cam data being viewed..
Could you check to see if there’s an updated version of the plugin in the MarketPlace?
I still get the memory leak also in 3.5 and 3.6 with updated plugin (Windows 10 64bit, latest Microsoft updates). I just close Cura after I start a print so it doesn’t crash out or cause other apps to crash or not work when they starved for memory. With octolapse uninstalled, I don’t get the memory leak. 4.0 without octolapse has proven stable in memory too but I have a feeling once the plugin is released for that, the memory issues will come back.
i submitted info on this thread or the other one and posted that I had a crash dump (forced through task manager) when memory was at an extreme, but I didn’t see a reply in the thread that anyone wanted to see it. I can do that again if needed. There should be a tool to view the crashdump and see what is taking up all the memory. I recall a utility like that a long time ago when I was doing dev work where I worked but it has been a long time ago and don’t remember any of it.
The crashdump is of no use to me. At best it will show that Cura is taking up a lot of memory. We need to figure out where the leak is happening.
As a workaround you should be able to prevent the videostream from displaying in the Connect to OctoPrint dialog
I did disable the video stream in 3.6 and the leak still happens. It doesn’t appear to be the displaying of the video.
Edited by Adam324All my plugins are up to day. Nothing needed an update. Interesting. I have not printed anything in 2 days, Cura has been up and it's memory allocation is fine. Sooooo, umm I'm not sure what is going on. I'll see if I can print something and see if memory is consumed and grows after a print. But ya memory is fine at 350MB without activity. I do have a browser window for octoprint but it's not the one that being used. I'll play around some more and see if I can see something 🙂
Recommended Posts
Top Posters In This Topic
18
16
8
3
Popular Days
Oct 23
14
Oct 22
9
Oct 18
7
Oct 17
6
Top Posters In This Topic
ahoeben 18 posts
kmanstudios 16 posts
Adam324 8 posts
nallath 3 posts
Popular Days
Oct 23 2018
14 posts
Oct 22 2018
9 posts
Oct 18 2018
7 posts
Oct 17 2018
6 posts
Popular Posts
ahoeben
A cause for a memory leak in both OctoPrint Connection plugin and Cura Connect has been identified. I have created a workaround for OctoPrintPlugin. If my workaround works without (too many) sideeffec
Shadowman
I for one; thank you for your ongoing effort to share as able with the development team to insure that this is corrected. Takes care.
kmanstudios
I am not running the cam or any other thing but Cura and Cura Connect. System is i7-770K 4.2 Ghz 32GB Ram Nvidia GForce GTX 1080 Win 10 ? Just opening Cura
Posted Images
ahoeben 1,948
The leak involving the camera image was fixed in Cura 3.6
Link to post
Share on other sites
Adam324 13
Make sure you update Octoprint in the plugins(Marketplace). Maybe it matters even if you don't use it but it is enabled. My main memory issue went away when I did that.
Edited by Adam324Link to post
Share on other sites