Coherent UI destroying my RAM.

Discussion in 'Support!' started by damnhippie, September 6, 2014.

  1. damnhippie

    damnhippie Active Member

    Messages:
    338
    Likes Received:
    176
    How do I prevent this?
    [​IMG]
  2. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    That is the expected behavior.
    Your options are:

    a) get more RAM
    b) there is a thread from SXX where he shows some ways to reduce the coherent memory usage at the cost of UI responsivness.
    SXX likes this.
  3. damnhippie

    damnhippie Active Member

    Messages:
    338
    Likes Received:
    176
    So its normal for that many processes to be active for the UI? Guess I'll be buying some more RAM!
  4. exterminans

    exterminans Post Master General

    Messages:
    1,881
    Likes Received:
    986
    Yes, that's normal. PA can do with about half as much too, but it can cause the UI to lag in extreme situations.

    Less than 16 processes are not really recommended, and less than 8 can cause noticeable lag.

    It's not nice that the memory usage from these processes sums up (meaning they share only very little memory, much stuff is duplicate), but that's not up to Uber to fix that issue since Coherent UI is 3rd party software.
  5. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    It's not really an issue with coherent either, it is simply the design of webkit. I have a similar amount of processes for chrome.
  6. exterminans

    exterminans Post Master General

    Messages:
    1,881
    Likes Received:
    986
    Last edited: September 6, 2014
    wondible likes this.
  7. portable

    portable Active Member

    Messages:
    113
    Likes Received:
    50
    FWIW: PA uses a Chrome/Webkit wrapper called Coherent UI to display all of the interactive UI elements, menus, lobby, etc which (IIRC) uses separate processes for each "layer".
  8. SXX

    SXX Post Master General

    Messages:
    6,896
    Likes Received:
    1,812
    No it's not design of webkit. WebKit it's only part of Chromium that not really dictate process model this browser use.
    And now it's not even called WebKit anymore, Google forked it as Blink. :)
    cola_colin likes this.
  9. backdoornobaby

    backdoornobaby New Member

    Messages:
    22
    Likes Received:
    1
    So from what I understand: it's a poor 3rd party software that UBER can't fix?

    And is it normal for it to use up to 8-10GB of extra ram?
  10. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    8-10GB is exaggerated, I dunno how much it is, but with 16GB I can still have PA open 2 times and it is fine.
  11. backdoornobaby

    backdoornobaby New Member

    Messages:
    22
    Likes Received:
    1
    Nope. Not exaggerated. It's actually taking up all that extra ram on my system. I'll play for a bit and snap a screenshot. It's been happening quite often.
  12. backdoornobaby

    backdoornobaby New Member

    Messages:
    22
    Likes Received:
    1
    welp, didn't pop up to 8GB before it crashed this time, but it got close!

    While game was running:
    [​IMG]
    After game closed:
    [​IMG]

    Ended up taking close to 7GB this time. I've had it run up to 10GB on more than one occasion, at which point everything just stops.
  13. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    How much of that is pa.exe? pa itself easily eats 3GB or so, so you are far away from actually using 10GB for coherent alone.
  14. damnhippie

    damnhippie Active Member

    Messages:
    338
    Likes Received:
    176
    Coherent was using around 3GB for me when I checked it. I think Uber needs a better third party UI because PA needs that RAM!
  15. backdoornobaby

    backdoornobaby New Member

    Messages:
    22
    Likes Received:
    1
    PA seems to be using 3.2GB.
    But that still means the Coherent is using 5GB of it, and that's 5GB when it causes crashing. I can't finish a game because I'm "Low on Memory" and Coherent_UI wants to crash.

    **And when I say I've got "low on memory" popping up, I've still got another 4GB(give or take) left...
  16. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    I don't think you should get that message if you have a properly configured swap.
    Quitch likes this.
  17. Quitch

    Quitch Post Master General

    Messages:
    5,885
    Likes Received:
    6,045
    By properly configured Cola means one you haven't touched the configuration of.
  18. backdoornobaby

    backdoornobaby New Member

    Messages:
    22
    Likes Received:
    1
    Fairly certain I'm not using lunix...

    However, I've turned the paging file off ages ago. (no virtual memory). It shouldn't be needed with 12GB of physical ram.

    I could see it being an issue if Coherent_UI is one of those weird programs that requires it. I've seen games before that will not work unless you have virtual memory, but they are fairly old now...
  19. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    I did the same when I got 16GB. After starting to have use cases where I need 2 instance of PA in parallel (modding matchmaking) I had to accept that that uses ~14.3GB and that windows will start to complain if I do not have a small swap file (or however windows calls it) before I reach the full 15.9 GB that are available to windows. Basically windows notices you "careful not much more and you'll see a lot of random processes dieing. That's quite reasonable to do for it. With swap disabled and 2x PA I had a few cases of sudden processes death because the system really was out of memory due to bigger planets.

    Put some small 1 or 2GB swap file up. Windows won't really use it, but it'll act as a safety net in case something goes crazy.
  20. Quitch

    Quitch Post Master General

    Messages:
    5,885
    Likes Received:
    6,045
    Oh good lord. Go read up on memory addressing. While you're doing that enable your page file using the recommended defaults and then leave it alone.

Share This Page