Fixed Possible memory leak with Empyrion

Discussion in 'Fixed (Read Only)' started by Bansheedragon, Jul 28, 2020.

  1. Bansheedragon

    Bansheedragon Commander

    Joined:
    Mar 31, 2016
    Messages:
    37
    Likes Received:
    34
    Build: Alpha 12.3.2 3024
    Mode: Survival
    Mode: Singleplayer, Peer2Peer Coop

    SERVER NAME: N/A
    SEED-ID: N/A

    If applicable:
    MODIFIED PLAYFIELDS: Yes, Using Project Eden mod.

    Reproducibility: Always
    Severity: Major, Crash

    Type: Global

    Summary: Possible memory leak with Empyrion

    Description: Using a CV and warping to other stars the memory usage of the Empyrion Client increases drastically.
    Been playing some local coop with some friends and after jumping to only two new systems and then back home, I was getting a low memory warning ingame.
    Turns out Empyrion had doubled the memory usage from just that short trip.


    Steps to Reproduce:
    1. Start a survival game.
    2. Open windows task manager and check Empyrion memory usage
    3. Spawn a CV and fill it with fuel
    4. Fly to space and warp to 3-4 different stars.
    5. Open windows task manager again and check Empyrion memory usage.

    Screenshots, Crash Logs, any other Relevant Information or Download links:
    Attached latest log.
    Savegame uploaded here.
    https://drive.google.com/drive/folders/12jXdOkSb_kgq9ts2KB3dq45HdXz9xGlQ?usp=sharing
     

    Attached Files:

    #1
  2. Pantera

    Pantera Administrator Staff Member

    • Developer
    • Moderator
    Joined:
    Aug 15, 2016
    Messages:
    3,199
    Likes Received:
    5,609
    Hey this is something that we are actually looking into currently no ETA ust yet for "Fix".
    To note of of B3031 on the exp branch the RAM usage should be lower than the current public branch overall.
     
    #2
    Pach and Kassonnade like this.
  3. Mirosya

    Mirosya Commander

    Joined:
    Dec 9, 2019
    Messages:
    148
    Likes Received:
    97
    Mode: Survival
    Mode: Dedicated Server or Single Player

    SERVER NAME: Private Server, 3-4 players
    SEED-ID:

    MODIFIED PLAYFIELDS: Yes (Project Eden)

    Reproducibility: Yes
    Severity: Major

    Type: Memory managment

    Summary: The game client allocates a large amount of memory and does not free it

    Description:
    At the initial launch of the game client, it occupies about 2.5 GB of memory. After starting the game (for example, running a single player creative mode game) - about 5.6 GB. After that, I exit the game in the menu - the client takes up all the same 5.6 GB.
    In a network game with a dedicated server, the game client quietly grows in memory up to 13-14 GB and this is not the limit. In this case, the game graphics settings are Quality Preset "Fast".


    Steps to Reproduce:
    For Single Player - It is enough to start any game mode and exit it to the menu - the game client does not return the occupied memory.
    For MP - It is enough to quickly fly around the planet and / or move (warp-movements too) several times between different Playfields with a crew of two players on the same ship, this is guaranteed to lead to an increase in memory usage.
     
    #3
    Germanicus likes this.
  4. Pantera

    Pantera Administrator Staff Member

    • Developer
    • Moderator
    Joined:
    Aug 15, 2016
    Messages:
    3,199
    Likes Received:
    5,609
    A fix for this issue will be available in the next experimental release tomorrow if all is ok.
     
    #4

Share This Page