Memory restrictions?

Discussion in 'Support!' started by KennyBall, July 30, 2013.

  1. KennyBall

    KennyBall New Member

    Messages:
    26
    Likes Received:
    1
    For the first time in a long time i actually got low on memory in windows.
    Is there a memory restriction caused by combine 32 and 64 bit edition?

    My system is:
    Windows 7 Ultimate 64bit
    I7 3770K
    GTX 690
    32GB Ram


    Norwegian language on the error-message

    Attached Files:

  2. zaphodx

    zaphodx Post Master General

    Messages:
    2,350
    Likes Received:
    2,409
    What?

    Were you doing anything intensive e.g. lots of units/big planet generation?
  3. KennyBall

    KennyBall New Member

    Messages:
    26
    Likes Received:
    1
    I used a "50" Size planet and 4 armies include me, I only play in sandbox to test and try out stuff, I had lots of planes out patrolling and a mid-long Que-list on building. I know this still is alpha so I had to expect a crash anytime. I had another error that made my Graphic card or driver stop working because a weird 2 second rule in windows I did not made a screenshot of...but next time it appear I will try to make a shot of the message. I re-installed My pc and now i only get short on memory....

    last time i Got short in memory was in Supreme Commander when it crashed on 11GB use of Ram. I then upgraded to 32GB of Ram, and now the game only get slow on the biggest 81x81 maps with unit cap on 1000 and 2 players vs 6 cheating AI on wlan.
  4. SXX

    SXX Post Master General

    Messages:
    6,896
    Likes Received:
    1,812
    Actually you can't had any RAM problem on Supreme Commander, because it's just can't use more than 3GB of RAM, no mater if you have 12GB or 32GB on your computer.

    Also can you please upload your DxDiag, so we can check what's can be wrong with your computer?
  5. Timevans999

    Timevans999 Active Member

    Messages:
    518
    Likes Received:
    44
    Incorrect i've been up to and over 6.7 gig used win8 pro 64 bit. When you have a 32 kit in you automatically use more ram to do the same thing. People have found a similar thing with the jump from 8 to 16 gig kits.And not only in supreme commander the same effect was found in many games.
  6. SXX

    SXX Post Master General

    Messages:
    6,896
    Likes Received:
    1,812
    Sorry, but please RTFM!
    http://msdn.microsoft.com/en-us/library/aa366778.aspx

    No, it's not. Additional unused memory used for disk cache and prefetch feature on both Linux and Windows.

    32-bit executable cannot physically address more than 4GB of RAM, you can put 128GB of RAM in your computer, it's won't change.
  7. Timevans999

    Timevans999 Active Member

    Messages:
    518
    Likes Received:
    44

    I'm not trying to disagree with you but the task manager doesn't lie. Besides there was a whole host of ways to get a 32 bit operating system to make one application address more memory back in the day.
  8. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    Timevans, a normal 32Bit process can't get more than 4GB for itself. Ofc people might work around that with ugly hacks (the only one I can come up with without google is launching extra processes and using them as a memory dump), but they are not required anymore with 64bit systems.

    I remember that message. I have only ever seen it when:
    -> My Virtual Memory is disabled. That's standard for me currently, as 16GB is enough for now.
    -> Nearly all of those 16GB are full.

    Filling up the whole lot of 16GB happened only in 2 cases so far:
    - Prime95 "Let's see what happens when I set this to 20GB..."
    - PA trying to generate a planet and running into some kind of memory leak/trying to generate a 500 size planet.

    I guess your PA just ran into a memory leak, filling up your whole system memory. Since it is 64Bit it can fill 16 or even 32GB without a problem.

    Should happen only rarely. Never had it in normal games so far.
  9. SXX

    SXX Post Master General

    Messages:
    6,896
    Likes Received:
    1,812
    Then you just misinterpreted it's output.

    Yes, 32-bit operation system can use more than 4GB of RAM with PAE. But no 32-bit process can address more than 4GB of memory.
  10. KennyBall

    KennyBall New Member

    Messages:
    26
    Likes Received:
    1
    Here is the dxdiag thingy, :)

    Attached Files:

  11. SXX

    SXX Post Master General

    Messages:
    6,896
    Likes Received:
    1,812
    What are you doing on your computer? :shock:
  12. Timevans999

    Timevans999 Active Member

    Messages:
    518
    Likes Received:
    44
  13. KennyBall

    KennyBall New Member

    Messages:
    26
    Likes Received:
    1
    I only did a dxdiag, pc is new-installed so i do not have many programs installed yet... :?:
  14. SXX

    SXX Post Master General

    Messages:
    6,896
    Likes Received:
    1,812
    According to your DxDiag you have one SSD and 3 HDD:
    I now understand why page file is so big and I suspect that 128GB on across 3 HDD might some problems. With your amount of RAM you actually don't need so large page file, size like 32GB+1GB it's fairly enough for you.

    Check this video:
    http://www.youtube.com/watch?v=DWCVhk5gTps
    And try to play around Page file size, e.g disable it on HDD and only leave on SSD.
  15. SXX

    SXX Post Master General

    Messages:
    6,896
    Likes Received:
    1,812
    Actually you have very weird issue because currently actual game never use more than 4GB of RAM in battle. Only planet generator can use lot of RAM, but also only after UI modification. That mean there is something wrong with your operation system and you need to determine what's that.

    Just quote of your DxDiag:
    That mean your system for some reason use ~121GB of virtual memory, there is two ideas why is that can be possible:
    1. It's some unique DxDiag bug related to your 6.5TB HDDs
    2. Windows really store something (what???) in 121GB of virtual memory.
    It's what you should investigate.

    Actually I can recommend you try this:
    1. Completely disable virtual memory (warning, it's will break hibernation).
    2. Reboot
    3. Try to play PA.
    If you won't met issue again that mean problem was with your super large page file.
  16. KennyBall

    KennyBall New Member

    Messages:
    26
    Likes Received:
    1


    Thank you so much :) i will first try to do what the videolink you posted me recomend and see if that help. :)
  17. SXX

    SXX Post Master General

    Messages:
    6,896
    Likes Received:
    1,812
    You need try to play with page file size and find moment when it's working for you fine, but no mater what's size are you don't really need page file on any of your HDD.
  18. numptyscrub

    numptyscrub Member

    Messages:
    325
    Likes Received:
    2
    Microsoft originally recommended a page file of 1.5x to 3x physical memory back in the day, so for 1GB RAM they recommended 1.5GB to 3GB page file. This is no longer a good rule for a lot of memory though, so with 32GB RAM I would recommend setting maybe a 16GB page file.

    I have 16GB RAM and have manually set a 16GB page file, and not seen any memory issues with any 64-bit processes yet. If I did upgrade to 32GB (the maximum my board supports) I'd leave the pagefile at 16GB because it should never need even that much ;)

    Like sxx I have no idea why dxdiag reported 120+GB pagefile in use, only video editing software usually gets that memory hungry :shock:
  19. SXX

    SXX Post Master General

    Messages:
    6,896
    Likes Received:
    1,812
    That's actually really bad recommendation because page file used for hibernation. If you have 17GB of RAM used and only 16GB of page file hibernation won't work. Actually you need page file size something like YOUR_RAM+1GB, it's usually enough.

    But if you don't need hibernation you can still set 8-16GB for page file because it's also used for crash dumps and if you have page file disabled Windows won't create correct crash dumps.
  20. BulletMagnet

    BulletMagnet Post Master General

    Messages:
    3,263
    Likes Received:
    591
    Go find the file hiberfil.sys. It should be exactly as big as your RAM, and be entirely separate from your pagefile.

Share This Page