RO2 Memory Usage

  • Please make sure you are familiar with the forum rules. You can find them here: https://forums.tripwireinteractive.com/index.php?threads/forum-rules.2334636/

jackastronaut

FNG / Fresh Meat
Jan 23, 2011
146
41
0
The United States
Hey all. Quick question. I've noticed in-game that my memory usage (~stat memory) seems to only be using about 14-20% of 4 gigs. Maybe I'm reading it wrong?

First off, I have 12 gigs of RAM (I'm a video editor full time so it's not as excessive as you think), and I'm running Windows 7 64 bit so it should be usable. Does RO2 max out at 4? And even if it did, why would it only be using less than a gig of my RAM?

Thanks in advance to those of you who may be able to shed some light on the issue.
 
Last edited:

Maj.Faux-Pas

FNG / Fresh Meat
Mar 1, 2006
363
16
0
Portland, OR
The maps only need 700-900 MB ram, or so I've noticed. Anything more than 'what the map needs' is due to memory leaks, or failing to dump the last map before loading the next map.

It's not a memory intensive game. The Unreal engine is optimized for use with consoles, and is indeed very lean when it comes to memory usage. The technology is condusive to asset optimization (textures, audio) if you know how to use it. These guys know how to use it... :)

I'd say you could try turning up your detail options to see if it would use more RAM, but it would just use more video ram.
 

jackastronaut

FNG / Fresh Meat
Jan 23, 2011
146
41
0
The United States
The maps only need 700-900 MB ram, or so I've noticed. Anything more than 'what the map needs' is due to memory leaks, or failing to dump the last map before loading the next map.

It's not a memory intensive game. The Unreal engine is optimized for use with consoles, and is indeed very lean when it comes to memory usage. The technology is condusive to asset optimization (textures, audio) if you know how to use it. These guys know how to use it... :)

I'd say you could try turning up your detail options to see if it would use more RAM, but it would just use more video ram.

Okay that makes sense. Thanks!
 

Das Bose

FNG / Fresh Meat
May 8, 2009
1,572
867
0
Sunny Scarborough
It would make sense if the Devs didn't keep telling people most crashes are caused by lack of memory :p

Like this..

Last Update to the beta - Update your servers!
posted by [TW]Yoshiro @ 01:12AM on September 13, 2011
We have just set live the last update to the beta.

In it we have addressed the major crashes that players have provided .dmp files for, fixes, and several optmizations. We will continue to work on the game up until the point of release (and after of course).

If you crash report it here. However, the majority of crashes are the result of being out of memory. So the first thing you should try is to lower your settings (especially textures and world detail).
 
Last edited:

Makino

FNG / Fresh Meat
Dec 9, 2005
576
86
0
Brazil
www.hitconfirm.com.br
It would make sense if the Devs didn't keep telling people most crashes are caused by lack of memory :p

Like this..

Actually i think its more linked to video memory, the textures are normally compressed and then decompressed on the graphics card pipeline. More textures with high quality at once on the screen = more decompressed textures = a lot more of your graphics card memory being used.
 

Das Bose

FNG / Fresh Meat
May 8, 2009
1,572
867
0
Sunny Scarborough
Actually i think its more linked to video memory, the textures are normally compressed and then decompressed on the graphics card pipeline. More textures with high quality at once on the screen = more decompressed textures = a lot more of your graphics card memory being used.


You may be right but my GTX470 only uses 350MB of it's 1280MB.
 

Das Bose

FNG / Fresh Meat
May 8, 2009
1,572
867
0
Sunny Scarborough
Yeah the highest system memory usage I have seen is around 1.9Gig after a few rounds on Sparta and the GPU never seems to use more than 350MB or very close to that :confused:
 

Makino

FNG / Fresh Meat
Dec 9, 2005
576
86
0
Brazil
www.hitconfirm.com.br
Its strange, dunno if it is with my pc or stat memory is bugged or whatever.

I am running the game pretty fine, can even enable AA and get an acceptable performance despite my little dated pc.

BUUUT

When i did a 'stat memory' it showed that the game was ONLY using the Virtual Memory. (will get some screenshots later today)

Maybe the low performance on some top end PCs are given to the fact they sometimes deactivate Virtual Memory or dont have sufficient HD Space for it.
 
Last edited:

senrim

FNG / Fresh Meat
Aug 31, 2011
27
4
0
problem

problem

more like memory usage. Main problem is GPU usage. My theory ? game cant use GPU at max and constantly and that's why we have low fps. e.x i have 40% gpu usage= 30-40 fps,70 gpu usage= 55 fps. 80 more usage=60-70 fps.
 

Major_Day

FNG / Fresh Meat
Feb 16, 2007
2,651
329
0
Glasgow, Scotland
I really dont understand the point of this thread, the game has been optimised to use only the amount of memory it needs, so that people with lower end processors can run the game, because the more memory an application uses the harder the processor has to work.
The same goes for video memory,if the game always used more than 1024mb video memory,and always used more than 2gb ram, lots of people wouldn't be able to play.
Compromises have to be made.
 
Last edited:

Makino

FNG / Fresh Meat
Dec 9, 2005
576
86
0
Brazil
www.hitconfirm.com.br
I really dont understand the point of this thread, the game has been optimised to use only the amount of memory it needs, so that people with lower end processors can run the game, because the more memory an application uses the harder the processor has to work.
The same goes for video memory,if the game always used more than 1024mb video memory,and always used more than 2gb ram, lots of people wouldn't be able to play.
Compromises have to be made.

Actually the second post on this thread was the exact reply you gave.
 

Das Bose

FNG / Fresh Meat
May 8, 2009
1,572
867
0
Sunny Scarborough
I really dont understand the point of this thread, the game has been optimised to use only the amount of memory it needs, so that people with lower end processors can run the game, because the more memory an application uses the harder the processor has to work.
The same goes for video memory,if the game always used more than 1024mb video memory,and always used more than 2gb ram, lots of people wouldn't be able to play.
Compromises have to be made.

According to Yoshiro the majority of crashes are caused by running out of memory. I have 6GB system memory and never see more than 1.9Gig used, while my GPU has 1280MB and I never see more than 360MB in use by the game.

If lack of memory is causing most of the crashes I Would love to know why the game uses less than 2Gig on a 64bit system with 6Gig available and only uses around a quarter of the GPU memory.

The point is to try and make sense of the crashing and the reasons given for it.

My system is not running out of memory :)
 
Last edited:

Makino

FNG / Fresh Meat
Dec 9, 2005
576
86
0
Brazil
www.hitconfirm.com.br
According to Yoshiro the majority of crashes are caused by running out of memory. I have 6GB system memory and never see more than 1.9Gig used, while my GPU has 1280MB and I never see more than 360MB in use by the game.

If lack of memory is causing most of the crashes I Would love to know why the game uses less than 2Gig on a 64bit system with 6Gig available and only uses around a quarter of the GPU memory.

The point is to try and make sense of the crashing and the reasons given for it.

My system is not running out of memory :)

You can be the minority of people who crashes dunno why :p

Also, here are the Stat Memory (some with more stat game and one more i dont remember now) i took just now:

http://cloud.steampowered.com/ugc/595822615482909946/8DB6BBACD9E2619135D7D6B38C2F9AA139EA8598/

http://cloud.steampowered.com/ugc/595822615482916838/0A45A7BC5F6E261FB8617D8667800774685B8728/

http://cloud.steampowered.com/ugc/595822615482912833/C83D792710261D03CAA04EF12E43416C15126F66/

http://cloud.steampowered.com/ugc/595822615482907976/764BD991B89D8E98A953E82224937BC9C541E77B/

http://cloud.steampowered.com/ugc/595822615482901791/99FB71DEC923891CE43353F478429C1C1002BAE9/

http://cloud.steampowered.com/ugc/595822615482899065/571BE5BD8485B6027B670BA87D59CF68DE37C846/

http://cloud.steampowered.com/ugc/595822615482892705/93221C9F19613003823C85B23868F413FB46BED7/

http://cloud.steampowered.com/ugc/595822615482895367/6CC9661D2764C55EBE2B9F3377E9D41546E5EA65/

http://cloud.steampowered.com/ugc/595822615482905573/290491BB75F2DD17F494A91DEF957DD0301B1CDF/
 

Maj.Faux-Pas

FNG / Fresh Meat
Mar 1, 2006
363
16
0
Portland, OR
Yes, I crash because I only have 2GB, and I know that's why.

But, if TW made the fixes so it continues to run lean at about 1GB, then the 'majority of crashes' would never happen. :)

p.s. Most FPS game at release (especially EA) has these memory issues, memory leaks and related crashes for people with low end or 2 yr old systems. TW is indie and solved all the other crashes, and are on par with the big cats.
 
Last edited:

Freezy

FNG / Fresh Meat
Aug 6, 2010
273
37
0
Sorry to bring this thread back up, but since the 15th of November patch had this
- Changes to audio memory usage. PCs with lots of memory (3 GB, 64 bit OS) will use up more system memory but this should reduce hitching and improve performance for some users
in it, I wondered if the hitching could be further reduced by making the game use even more RAM (subsystems like audio, physics, renderer?) on machines with lots of memory.

As I played earlier today, RO2.exe was using a maximum amount of about 2.3 GB of RAM on my system, "stat memory" showed 1.1 GB used max (stat memory also said i would have only 2 GB of memory, I guess it is stating virtual memory, because this is the exact size i set my pagefile to).
Combined with the rest of the system, I had about 3.5 GB of my RAM used, and this far from the 6 GB RAM I have installed in my machine.

as i like to say: "free RAM is wasted RAM" ;)

The 15th November patch reduced the stuttering quite a bunch for me, but there is still some left and i'm looking forward for future improvements in this area.

I'm not expecting a dev-answer right away because it's weekend, but an answer from TWI would be nice :eek:

Also, will we see a 64 bit .exe in the future?
 

Mekhazzio

FNG / Fresh Meat
Sep 21, 2011
1,104
641
0
It would make sense if the Devs didn't keep telling people most crashes are caused by lack of memory
Both answers can be correct. When the memory management is faulty (as in, anything but 100% perfect) you can be lean on memory usage and still get crashes due to memory allocation and addressing errors. Having more physical memory to work with doesn't cure the problem, it just adds greater tolerances.

..and RO2's memory management is pretty darn faulty.
 

Freezy

FNG / Fresh Meat
Aug 6, 2010
273
37
0
I have the idea that the stutters are caused by sound. The sounds are processed by your cpu and not by your soundcard.

yes, i know XAudio2 only uses the CPU, but from the new beta changelog:
- Improved physics performance (removing another cause of hitching)
so it seems not only the sounds are responsible for it and i just was curious how much more the stuttering could be reduced by using more RAM, but i guess only a dev could really answer that.