High CPU usage and autocompletion extremely slow

sgronchi
2020-11-10
2020-11-11
  • sgronchi - 2020-11-10

    Hi all,
    has anyone noticed a spike in CPU usage (and slow autocompletion) whenever two instances of Codesys are open at the same time?

     
  • Morberis

    Morberis - 2020-11-10

    Double post

     

    Last edit: Morberis 2020-11-10
  • Morberis

    Morberis - 2020-11-10

    With the programming IDE?

    I have not experienced that. I commonly have 2 instances open so that I can reference how I did something in another project or to selectively copy and paste sections when I need to. If I leave it open for a few days I do notice that things have bogged down a bit. Usually each instance uses about 1gb of ram. Though if its been open for a few days that has gone up and might be hitting the 32bit memory limit. Which is 1 of the reasons I'm glad Eaton released a x64 version.

    I also have plenty of ram... a 32gb kit for my laptop cost ~$200 and windows pre-loads some commonly used stuff in ram. I regularly see 17gb total used.

    The processor is really nothing to write home about being an i5-6300HQ but I also have a middling ssd.

     

    Last edit: Morberis 2020-11-10
  • sgronchi - 2020-11-10

    Both on 32bit and 64bit, and I have 32 GB of RAM and a Core i7-10875H. Two instances eat up about 10% CPU each, three go to 15% - 20% each while sitting in the background, whereas one instance eats only 1-2% of CPU usually. The graphical editors are slowed down too.

     
  • Morberis

    Morberis - 2020-11-11

    Hmmm. I just tested on my system with 2 different projects open, same project saved under 2 different names.

    -With 2 instances cpu utilization floats between 6-12%.
    -With 1 instance on it behaves the same.
    -In both cases if I start doing anything it jumps up to ~20% and stays around there and I don't notice any input lag or lag with any UI elements.

    I'm not sure why you're seeing that or if I'm the odd duck.

     

    Last edit: Morberis 2020-11-11

Log in to post a comment.