Page 1 of 1
Memory leak ?
Posted: Fri Sep 24, 2004 8:42 am
by pr0ger
Hi,
I play SoR on a clean win2k in windowed mode, so I can monitor the memory usage using the task manager.
Wth only 512MB of ram, the system total charge was about 690MB.
Awful swapping some times, so I upgraded to reach 1GB of ram.
Then I monitor again, And when I first start the game and come in Ykranis, it's 750MB total charge usage.
After lot of playing, dying and respawning at the same places (mostly Ykranis and Navae) total memory usage was 1044MB ...
Sure, in-game I don't get any slowing down or lag, but If it keep going up, win2K may say "not enough memory, allocating more swapfile" etc... etc...
Is that "my fault" or somethin' ? Is there some stuff to fix this up maybe ?
Re: Memory leak ?
Posted: Fri Sep 24, 2004 11:19 pm
by z0m8ied0g
Mine just dies as soon as I hit Ykranis, went fine until I teleported and seems to kill my graphics card when spawning.
Re: Memory leak ?
Posted: Sat Sep 25, 2004 11:18 am
by pr0ger
z0m8ied0g wrote:Mine just dies as soon as I hit Ykranis
Yup, too, on another computer with onlly 512MB ram , graphic board ATI 9000, win2K
Re: Memory leak ?
Posted: Sat Sep 25, 2004 2:25 pm
by b00ster1
Wth only 512MB of ram, the system total charge was about 690MB.
Awful swapping some times, so I upgraded to reach 1GB of ram.
Then I monitor again, And when I first start the game and come in Ykranis, it's 750MB total charge usage..
...total memory usage was 1044MB
This is correct.
Example.When you run WindowsXP on 512MB RAM - it use 15-20% RAM. When you run WinXP on 2GB RAM - it use ..... 15-20%
"not enough memory, allocating more swapfile"
MAybe Pagefile size fixed?
Re: Memory leak ?
Posted: Sat Sep 25, 2004 3:09 pm
by Nirvy
Hmm my specs are in my sig, and i ahvent experienced this. As you both only have 512Mb, try increasing page file maybe?
Re: Memory leak ?
Posted: Sat Sep 25, 2004 6:20 pm
by pr0ger
No it's not about pagefile ... It's about loaded datas. For example :
- win started, memory usage = 100MB
- start a game and play, memory usage = 400MB
- quit the game and come back to win, memory usage = 100MB
We have a "memory leak situation" when you're coming back to win and have memory usage = 240MB ... 140MB allocated by the game where not freed.
In Ryzom, seems to have this situation, but inside the game only :
- you start in Ykr = 740MB
- you walk a few = 790MB
- you die and restart at Ykr = 800MB
- you walk a few = 810MB
etc etc... and it get worst if you walk further, in anothers cities...
Upgrading swapfile may avoid the "windows need more memory" critical messagebox, but when you hit the hard limit, time to ... have hard time.
Re: Memory leak ?
Posted: Sat Sep 25, 2004 11:51 pm
by Nirvy
pr0ger wrote:No it's not about pagefile ... It's about loaded datas. For example :
- win started, memory usage = 100MB
- start a game and play, memory usage = 400MB
- quit the game and come back to win, memory usage = 100MB
We have a "memory leak situation" when you're coming back to win and have memory usage = 240MB ... 140MB allocated by the game where not freed.
In Ryzom, seems to have this situation, but inside the game only :
- you start in Ykr = 740MB
- you walk a few = 790MB
- you die and restart at Ykr = 800MB
- you walk a few = 810MB
etc etc... and it get worst if you walk further, in anothers cities...
Upgrading swapfile may avoid the "windows need more memory" critical messagebox, but when you hit the hard limit, time to ... have hard time.
Hmm not sure, i tested this for an hour and didnt see it. Maybe it only happens with certain hardware? Coming out of ryzom also takes me back to the same memory level i had 4 hours before is tarted playing
Re: Memory leak ?
Posted: Mon Sep 27, 2004 9:53 am
by jaggarot
Doesn't look like a memory leak to me (in fact a lack of memory leaks is one thing that has hit me between the eyes with SoR!).
What is happening is that the client is loading more environment information into RAM as you move around - if the RAM is there it will continue to use more of it (no point unloading a piece of map you may revisit).
This shouldn't slow down the game (if anything, it will speed it up).
Now this may be an issue if your swapfile builds up and the game freezes or crashes - is this what is happening?