Memory leak ?

Got a problem getting things to work? Drop us a line here and you'll find all the help you need.
Post Reply
User avatar
pr0ger
Posts: 221
Joined: Tue Sep 21, 2004 6:57 pm

Memory leak ?

Post 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 ?
z0m8ied0g
Posts: 3
Joined: Thu Sep 16, 2004 6:27 pm

Re: Memory leak ?

Post 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.
User avatar
pr0ger
Posts: 221
Joined: Tue Sep 21, 2004 6:57 pm

Re: Memory leak ?

Post 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
User avatar
b00ster1
Posts: 232
Joined: Tue Sep 21, 2004 2:26 am

Re: Memory leak ?

Post 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?
Less power for mages!
Open your eyes, listen to your heart:
Technoevil or magic spirit of nature - here is only one choice.
User avatar
Nirvy
Posts: 159
Joined: Thu Sep 16, 2004 6:53 pm

Re: Memory leak ?

Post 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?
Nirvy | Allegiance of Power
User avatar
pr0ger
Posts: 221
Joined: Tue Sep 21, 2004 6:57 pm

Re: Memory leak ?

Post 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.
User avatar
Nirvy
Posts: 159
Joined: Thu Sep 16, 2004 6:53 pm

Re: Memory leak ?

Post 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
Nirvy | Allegiance of Power
jaggarot
Posts: 68
Joined: Tue Sep 21, 2004 2:26 am

Re: Memory leak ?

Post 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?
Post Reply

Return to “Technical Support”