Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Starsector 0.97a is out! (02/02/24); New blog post: Simulator Enhancements (03/13/24)

Author Topic: 0.95 RC15 "Low RAM remaining"  (Read 13391 times)

Stormlock

  • Ensign
  • *
  • Posts: 19
    • View Profile
0.95 RC15 "Low RAM remaining"
« on: April 29, 2021, 04:15:09 PM »

I keep getting a "Low RAM remaining, try restarting Starsector or changing the whateverparams file."

But uh, I've got 32GB of ram, pretty much none of it being used in the background, and the only mod installed is a portrait pack. What gives?
Logged

SafariJohn

  • Admiral
  • *****
  • Posts: 3010
    • View Profile
Re: 0.95 RC15 "Low RAM remaining"
« Reply #1 on: May 01, 2021, 05:29:21 PM »

Did you adjust your RAM allocation in your vmparams file?

Guide from the Discord server:

------------------------------
------------------------------
RAM ALLOCATION
------------------------------
------------------------------

By default Starsector is using 1 to 1.5GB of RAM, but becomes exponentially hungry for more as soon as you add mods with new markets. To prevent Out Of Memory crashes, you must allow the game to use more RAM. This is done by editing the VMPARAMS file in the game folder, or for the sake of simplicity replacing it with a proper one provided bellow.

How much ram you can allocate is determined by your system specs:

:exclamation:  - You should never exceed 8GB or you will experience stutters, freezes or even crashes.

:exclamation:  - If you are closing other applications, especially ram-hungry ones like Internet Browsers, you can allocate as much ram as Total System Ram MINUS 2GB
 
:exclamation:  - If you keep your browser and other applications open, you should only allocate HALF of your Total System Ram

:exclamation:  - 32BIT SYSTEMS CANNOT ALLOCATE MORE THAN 1.3GB OF RAM

------------------------------
------------------------------

Once you have determined how much Ram you can allocate, download the relevant vparams file and place it in the /Starsector/ directory, in place of the original. REMEMBER TO BACKUP THE ORIGINAL FILE IN CASE OF AN ISSUE.

:white_check_mark: - If your system does not allow you to allocate more ram: This is unable to safely play more than some quality of life mods, ship packs and maybe a pair of faction mods.
 
:white_check_mark: - If you can allocate 1.3GB:
https://bitbucket.org/MesoTroniK/1300-meg/downloads/vmparams
This should be OK for a handful of faction mods plus your QoL mods and ship packs.
 
:white_check_mark: - If you can allocate 2GB:
https://bitbucket.org/MesoTroniK/2-gig/downloads/vmparams

:white_check_mark: - If you can allocate 3GB:
https://bitbucket.org/MesoTroniK/3-gig/downloads/vmparams
By that point you can have a decent sized mod list of 6+ factions and/or ship packs.
 
:white_check_mark: - If you can allocate 4GB:
https://bitbucket.org/MesoTroniK/4-gig/downloads/vmparams
This should be safe to use if not all at least a large amount of mods.
 
:white_check_mark: - If you can allocate 6GB:
https://bitbucket.org/MesoTroniK/6-gig/downloads/vmparams
Your computer should be able to handle every current mod you throw at it.
 
:white_check_mark: - If you can allocate 8GB:
https://bitbucket.org/MesoTroniK/8-gig/downloads/vmparams
WARNING: SOME SYSTEM CONFIGURATIONS THAT SHOULD ALLOW 8GB CAN EXPERIENCE STUTTERS AND FREEZES WITH THAT AMOUNT. If that is your case, fall back on a 6GB allocation. This much allocation is currently safe to run an arbitrary number of mods.
Logged