Dismiss Notice
This Section is READ ONLY - All Posts Are Archived

[Known] Memory Leak In Elysium Mines (and Everywhere)

Discussion in 'Critical Issues (Blockers, Performance, Crashes)' started by Kabalyero Kidd, Nov 22, 2017.

Thread Status:
Not open for further replies.
  1. Kabalyero Kidd

    Kabalyero Kidd Avatar

    Messages:
    2,054
    Likes Received:
    5,437
    Trophy Points:
    165
    Location:
    Beran's Reach, Beregost and Whyte Roc
    11/23/2017 10:46 AM
    Title: Memory Leak In Elysium Mines
    Reproduction Rate: 100%
    Blocker? N/A
    Details: Memory usage grew to almost 7GB while mining in Elysium Mines.
    Steps to Reproduce: I logged in, resumed in Elysium Mines, started mining and after a few hours the game was lagging and SotA's memory usage was almost 7GB. Happened every time in R48. Never happened in R47.
    User Specs:
    OS: Windows 7 Service Pack 1 (6.1.7601) 64bit
    SotA.EarlyAccess.LIVE.Win.64.705.Date.11.22.17
    Area: Novia_R11_Hills01_ElysiumMines
    Area Display Name: Elysium Mines
    Loc: (-16.9, -9.8, 23.3)
    Debug: Tm92aWFfUjExX0hpbGxzMDFfRWx5c2l1bU1pbmVzfHwoLTE2Ljg1MywgLTkuODM3LCAyMy4zMTgpfCgwLCAwLCAwLCAxKXwwfDEwfDMuODcxNDk0

    [​IMG]
     
  2. The Banker

    The Banker Avatar

    Messages:
    97
    Likes Received:
    214
    Trophy Points:
    8
    Its not only Elysium mines
     
  3. 3djake

    3djake Avatar

    Messages:
    26
    Likes Received:
    29
    Trophy Points:
    3
    I can confirm the memory leak is every where, it consumes all your memory and then it starts to consume all your swap space and once its all used up it will lock up your computer forcing you to reboot.

    I have 16GB of Ram and a 6GB Swap partition.

    Code:
    head -n 1 /proc/meminfo
    MemTotal:       16329928 kB
    Here Shroud is using 14GB of memory and about 3GB of swap, both will continue to go up and if I do not restart the client(simply relogging does not fix it), once all resources are consumed your computer freezes.

    Code:
    Tasks: 266 total,   3 running, 262 sleeping,   0 stopped,   1 zombie
    %Cpu(s): 35.1 us,  4.3 sy,  0.0 ni, 60.6 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
    KiB Mem : 16329928 total,   224744 free, 15643216 used,   461968 buff/cache
    KiB Swap:  7169020 total,  2975624 free,  4193396 used.   268320 avail Mem
    
      PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND                            SWAP
    15429 jacob     20   0 20.544g 0.013t 132952 R 297.7 83.8 626:33.83 Shroud of the A                  2.658g
     1218 root      20   0  557344 172020  30540 S  19.2  1.1 186:40.37 Xorg                              77396
    23590 jacob     20   0  537144  21388   9032 S   4.3  0.1  37:17.05 gnome-system-mo                    9432
     2970 jacob      9 -11  633248   7364   4608 S   3.3  0.0  41:37.51 pulseaudio                         1800
     9395 jacob     20   0 10.060g 975404  63868 S   2.6  6.0  62:22.72 firefox                          442500
     3717 jacob     20   0  447300  43812  26116 S   2.3  0.3  20:41.33 steam                             45592
    
    Regards, Jake.
     
    Kabalyero likes this.
  4. Alley Oop

    Alley Oop Bug Hunter Bug Moderator

    Messages:
    15,720
    Likes Received:
    19,491
    Trophy Points:
    153
    well, yes. this has been going on for ages. i actually have a scheduled task to check the size and pop up a warning when it hits 12.
     
  5. Lexie

    Lexie Bear Queen Emeritus

    Messages:
    842
    Likes Received:
    2,902
    Trophy Points:
    93
    Bug # for memory leak is 50318. Interesting that it just started happening to you. Does it happen to you when the client has been opened for a long time, as in gradually? Or does it spike up pretty dang quickly?
    @Kabalyero
     
  6. Kabalyero Kidd

    Kabalyero Kidd Avatar

    Messages:
    2,054
    Likes Received:
    5,437
    Trophy Points:
    165
    Location:
    Beran's Reach, Beregost and Whyte Roc
    I have an 8GB RAM... around 2 to 3 hours... never happened in R47... I could mine for 8 to 12 hours straight without running out of memory...

    I also asked other players in-game and they are also having the same issue... they had to exit the game every now and then just to clear SotA's memory usage...

    thank you for looking into this...
     
  7. autodeath

    autodeath Avatar

    Messages:
    50
    Likes Received:
    45
    Trophy Points:
    8
    It spike up quickly on rate of order of single MB/s
     
  8. Addle

    Addle Avatar

    Messages:
    1
    Likes Received:
    5
    Trophy Points:
    3
    Hm, seems possibly worse on Linux than on Windows? I'm on Linux and it gets to 11+ GB and performance suffers horribly due to excess swapping (I have 16 GB). Entering and exiting scenes seems to cause a big jump in RAM usage, but it gradually grows just sitting in town. Also, the longer I play, the longer it takes to exit, to the point where it seems to never exit if I really leave it too long. Been playing a bit over a week, and this has been the biggest issue for me by far. Glad it's known and being looked into. :)

    If there's anything I can do to help test/localise this issue, please don't hesitate to ask.
     
  9. 3djake

    3djake Avatar

    Messages:
    26
    Likes Received:
    29
    Trophy Points:
    3
    I am not sure if it is worse on Windows as I also play on Linux but from what other players have told me the memory leaks on Windows are just as bad and they have to sometimes exit using task manager.

    Once game starts consuming swap, I do not even bother to try to exit the game normally as it may not exit at all, instead I just force quit using
    Code:
    kill -9 $(pidof Shroud\ of\ the\ Avatar.x86_64)
     
  10. oplek

    oplek Avatar

    Messages:
    1,238
    Likes Received:
    3,017
    Trophy Points:
    113
    Gender:
    Male
    I've always experienced this on Windows, but I'll say that with the performance improvements int he last few releases, it takes longer to happen (after a few hours of gameplay, with 8GB memory)

    The more scenes I load into, the worse the problem gets... particularly for complex scenes like cities. It seems to be centered around scene-loading.
     
  11. 3djake

    3djake Avatar

    Messages:
    26
    Likes Received:
    29
    Trophy Points:
    3
    For me with 16GB of RAM, it only takes about 30 minutes for shroud to start consuming swap space, this is just from standing in town.
     
    Kabalyero likes this.
  12. Johnny Riker

    Johnny Riker Avatar

    Messages:
    2
    Likes Received:
    1
    Trophy Points:
    3
    Since R48 the game after a very short time is not playable at all the memory just get eaten up within seconds, I have to reboot my iMac. The game was playing very well in R47 what has happened????? at this rate it's not going to be ready for release it's going backwards.

    WithEve Online I can play 4 characters with the graphics set high with no problem with Shroud it's set on the lowest setting and unplayable
     
    Kabalyero likes this.
  13. Kabalyero Kidd

    Kabalyero Kidd Avatar

    Messages:
    2,054
    Likes Received:
    5,437
    Trophy Points:
    165
    Location:
    Beran's Reach, Beregost and Whyte Roc
    Was this fixed in this release? @Lexie

    I also noticed when entering the game, my memory usage increased from 60% to 80%... :(
     
Thread Status:
Not open for further replies.