Memory Help Needed!

    kiddan

    Cobalt-Blooded Bullet Mirror
    Joined
    May 12, 2014
    Messages
    1,131
    Reaction score
    358
    • Top Forum Contributor
    • Legacy Citizen 4
    • Purchased!
    So I'm not the most memory savvy fellow and would like to know, what should I change these numbers to if I want to give the game one more GB of memory?


    Also, how many MBs are in a GB? I'm guessing it's 1000 but I don't want to make a terrible mistake and mess anything up. :P
     

    DrTarDIS

    Eldrich Timelord
    Joined
    Jan 16, 2014
    Messages
    1,114
    Reaction score
    310
    1024 mb/gb, 1024 b/mb

    Binary math. 1536 =1024(1G)+512(1/2G) =1.5G
    2048=2g
    3072 = 3g
    4096=4g

    Winkey+r -> Dxdiag ->run to see your system specs,
    Shift+ctrl+esc = task manager ->check "performance" tab for "commit charge" (used memory)
    don't allot more than you have "spare" memory to starmade or it'll slow down loading/unloading from cache files.
    Hope it helps
     
    Joined
    Jul 21, 2013
    Messages
    2,932
    Reaction score
    460
    • Hardware Store
    1024 b/mb
    1024 kb/mb , 1024 b/kb :P
    what should I change these numbers to if I want to give the game one more GB of memory?
    Max memory is how much memory starmade should ever use at once. Increasing this number is usually safe, so long as you are using 64bit java, and your computer has more free ram than this value.
    Initial memory is how much memory starmade will allocate while starting. This number must be lower than maximum memory. Initial memory allocation exists because allocating memory takes time. Do not set this value too high, because even if starmade doesn't need that much memory, it will always occupy it. Having allocated too much memory will also slow down garbage collection.
    The purpose of the early gen memory value is unknown to me, but setting it too high will cause the game to crash upon startup. As such, I recommend to increase/decrease it proportional to initial memory. In your case, initial is 4 times larger than early gen.
     
    Joined
    Feb 16, 2016
    Messages
    67
    Reaction score
    42
    Also, how many MBs are in a GB? I'm guessing it's 1000 but I don't want to make a terrible mistake and mess anything up. :p
    IK this will confuse you more, but actually, officially, internationally recognized and standardized, you are correct and 1GB = 1000MB = 1000,000,000 B.

    Still most people use 1GB for 1024 MBs. Officially, the 1024-based unit system contains a small 'i' before the 'B': thus 1 GiB = 1024 MiB. These units are called mebibyte and gibibyte (and there are also kibibytes, tebibytes and so on). HDD/SDD/Memory manufacturers use this bureaucratic trick a lot. They sell you for instance a 16GB SD card which contains exactly 16,000,000,000 bytes. When you plug it, you see that it is 14.9 not 16 of your expected units. Funny, but here is the developer of your OS to be blamed. Not the disk/card manufacturer.

    Yet for normal, and by normal I mean normal, people 1GB is 1024MB or 1,048,576 KB or 1,073,741,824 B.

    And back on topic: whenever I make memory adjustments of things I'm not sure about, I try first by multiplying everything by 2. In your example that would give 3072, 1024 and 256. If that's not satisfactory (and still there is memory to spend) -- repeat with 6144, 2048 and 512 and so on.
     
    Last edited:

    kiddan

    Cobalt-Blooded Bullet Mirror
    Joined
    May 12, 2014
    Messages
    1,131
    Reaction score
    358
    • Top Forum Contributor
    • Legacy Citizen 4
    • Purchased!
    IK this will confuse you more, but actually, officially, internationally recognized and standardized, you are correct and 1GB = 1000MB = 1000,000,000 B.

    Still most people use 1GB for 1024 MBs. Officially, the 1024-based unit system contains a small 'i' before the 'B': thus 1 GiB = 1024 MiB. These units are called mebibyte and gibibyte (and there are also kibibytes, tebibytes and so on). HDD/SDD/Memory manufacturers use this bureaucratic trick a lot. They sell you for instance a 16GB SD card which contains exactly 16,000,000,000 bytes. When you plug it, you see that it is 14.9 not 16 of your expected units. Funny, but here is the developer of your OS to be blamed. Not the disk/card manufacturer.

    Yet for normal, and by normal I mean normal, people 1GB is 1024MB or 1,048,576 KB or 1,073,741,824 B.

    And back on topic: whenever I make memory adjustments of things I'm not sure about, I try first by multiplying everything by 2. In your example that would give 3072, 1024 and 256. If that's not satisfactory (and still there is memory to spend) -- repeat with 6144, 2048 and 512 and so on.
    Thanks! This helped me understand this a whole lot more, actually. :)