Welcome to Our Community

Some features disabled for guests. Register Today.

Memory Process hog

Discussion in 'Control Software' started by Steveathome, Feb 14, 2020.

  1. Steveathome

    Steveathome Well-Known
    Builder

    Joined:
    Oct 7, 2017
    Messages:
    68
    Likes Received:
    28
    Not really sure if this is a program thing or a pc thing. After doing the newest update to v1.0.207, I noticed a few days later my machine started to slow down. I typically leave Openbuilds Control running in the background as I have a project in works. I started looking at the pc and found under Task Manager that Control was using about 13 GB out of 16 GB available. I wasn't able to end the task, so I had to reboot. When it came back up I removed Control and installed v1.0.205. It appears to be OK now, after a few days. Just wondering if you have heard of this happening before, like a runaway memory incident?
     
  2. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    14,038
    Likes Received:
    4,123
    Was one other report like that maybe a year ago, but never happened again. Keep an eye on it, if it happens again it'd be interesting. Just once is probably just Windows doing something weird
     
  3. Steveathome

    Steveathome Well-Known
    Builder

    Joined:
    Oct 7, 2017
    Messages:
    68
    Likes Received:
    28
    OK will do, was kinda funny that I couldn't end the task, had to crash and burn.
     
  4. Steveathome

    Steveathome Well-Known
    Builder

    Joined:
    Oct 7, 2017
    Messages:
    68
    Likes Received:
    28
    OK; updated to v1.0.207 yesterday and today it started to show up again. got some screen shots showing task manager in the process screen as well as performance screen. Before and after ending Control task. Did notice it took about a minute for the memory to drop back to normal. Then control is back at where it was before. Sequence of task manager pictures are usage1, usage2, after back on 1, after back on 2
     

    Attached Files:

  5. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    14,038
    Likes Received:
    4,123
    The worst case ram usage from CONTROL according to the screenshots is around 443mb, which is not unheard of (could be busy downloading an update in the background, or have some loaded gcode)
    So not sure why Windows was using as much ram, it wasn't allocated to CONTROL. I suspect closing CONTROL just forced it to flush the cache (see below)

    If CONTROL was using the RAM, it would should up in the memory/cpu columns of the detail view in Task Manager

    You can test this theory, next time it sits there with Windows using a lot of ram, by going to Start, Run and pasting
    Code:
    %windir%\system32\rundll32.exe advapi32.dll,ProcessIdleTasks
    Give it a couple minutes and see if start going down? What that does is, instruct Windows to begin processing pending system “idle” tasks. These are hidden Windows tasks that are performed in the background when system resources aren’t being used.

    If that's the case, you can look into disabling things like Windows Superfetch etc, but then at least it rules out CONTROL.

    Also try RAMMap - Windows Sysinternals - its much better at helping you trace memory allocations than Task Manager (don't forget the tabs along the top - more details)
     
  6. Steveathome

    Steveathome Well-Known
    Builder

    Joined:
    Oct 7, 2017
    Messages:
    68
    Likes Received:
    28
    Hi Peter
    I had already disabled superfetch a couple of days before after seeing the drive bottle-necked for half an hour at 100% but I will try the other when it comes back. Thx
     
    Peter Van Der Walt likes this.
  7. Steveathome

    Steveathome Well-Known
    Builder

    Joined:
    Oct 7, 2017
    Messages:
    68
    Likes Received:
    28
    at 1000 tuesday 25th.jpg rammap.jpg usage drive feb 25.jpg use counts in rammap.jpg I'm Back

    Seems to have lasted a week. This morning memory pegged, and disk said 50 %, but if you displayed the drive it was a lot higher. downloaded and installed RaMMap. I'm attaching my screenshots with task manager and RaMMap.

    Only weird thing I saw was a brief flash of a memory error as it was shutting down. Wasn't able to really see the message, it was in a little box just below and left of center screen.

    Could it be something like a memory hang that avalanches when accessed?

    Just a hairy assed guess .
     
  8. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    14,038
    Likes Received:
    4,123
    In that one OpenBuilds is using 1.2Gb of RAM (less than 10% of what you have), what'd we typically see with a largish gcode job (3d Viewer objects take quite a bit of ram if its lots of short segments) - nothing looks out of the oridinary in that.

    OpenBuildsCONTROL doesn't use your disk for anything, so can't tell you why its that busy. There's still nothing pointing a finger at CONTROL. Maybe a visit to the local IT guy? (malware scan etc)
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice