Elvas Tower: Memory+HUD. DEBUG INFORMATION - Elvas Tower

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Memory+HUD. DEBUG INFORMATION Rate Topic: -----

#1 User is offline   Klaus 

  • Apprentice
  • Group: Status: First Class
  • Posts: 29
  • Joined: 31-August 13
  • Gender:Male
  • Location:Germany-Bavaria
  • Simulator:OR/MSTS
  • Country:

Posted 03 January 2014 - 06:09 AM

Hallo,

I'm testing a great narrow gauche net and suppose that OR has memory problems. OR v_00_09_00 crashes at certain tiles, X1891 to X1915 doesn’t display forests in certain tiles when distant mountains are ON. (-> http://www.elvastower.com/forums/index.php?/topic/23268-problems-with-distant-mountains/ )

The debug information has a line about the memory situation. But I don't understand the information.
What is the exact meaning of the values?

e.g.
Memory 1168 MB (157 textures, 143 materials, 133 shapes 180 tiles, 101 MB managed, 4168/3483/24 GCs)



How is the memory information correlated with die values from the taskmanager?

On running OR the taskmanager report:

physical memory (MB)
total 8175
cache 5224
available 5195
free 30

Is this critical? Especially only 30 MB free memory?

Thank you for explanations!

Klaus

#2 User is offline   markus_GE 

  • Executive Vice President
  • PipPipPipPipPipPipPipPipPip
  • Group: ET Admin
  • Posts: 4,862
  • Joined: 07-February 13
  • Gender:Male
  • Location:Leoben, Styria, Austria, Europe
  • Simulator:ORTS / MSTS
  • Country:

Posted 03 January 2014 - 06:38 AM

As of the labels you dupplied with your second list of values, these are readings from Windows' resource monitor. However, this monitor will show RAM usage by all programs running, including the OS itself. That said, this can in no way be compared to what is shown in OpR itself.

Rather go to (I´l post the names in German, since that´s probably easier for both of us) "Taskmanager -> Anwendungen", right-click the openrails-task, select "Zu Prozess wechsen" and read the memory-usage value from the colums "Arbeitspeicher" in the line now highlighted (value in kB).

For the rest, an OpRDev team member can probably provide better answers than I can.

Cheers, Markus

#3 User is offline   James Ross 

  • Open Rails Developer
  • Group: Status: Elite Member
  • Posts: 5,491
  • Joined: 30-June 10
  • Gender:Not Telling
  • Simulator:Open Rails
  • Country:

Posted 03 January 2014 - 09:23 AM

View PostKlaus, on 03 January 2014 - 06:09 AM, said:

e.g.
Memory 1168 MB (157 textures, 143 materials, 133 shapes 180 tiles, 101 MB managed, 4168/3483/24 GCs)


"1168 MB" is the current working set [1] of the Open Rails process; this will match the appropriate column in Task Manager's Details tab (depending exactly on OS what it's called). The columns are particularly misleading in Windows XP but much better in Windows 7 and 8. If you can't match it up and really want to, let us know what OS and I'll try to figure it out.

"101 MB managed" is the current amount of memory being used by .NET code (both from Open Rails and the .NET Framework). The rather large difference to the total memory is because, being a graphical game, a lot of Open Rails's memory usage comes from DirectX and the graphics drivers. In this case, they account for about 1067 MB.

"4168/3483/24 GCs" shows that, since you started playing this particular activity/saved game, .NET has done 4168 generation 0 garbage collections, 3483 for generation 0 + 1, and 24 for generations 0 + 1 + 2. These are all quite normal values.

[1] The working set of a process is the total physical memory that it is directly using, including memory shared between multiple processes (such as standard OS libraries).

View PostKlaus, on 03 January 2014 - 06:09 AM, said:

physical memory (MB)
total 8175
cache 5224
available 5195
free 30

Is this critical? Especially only 30 MB free memory?


These are totals for everything in the OS, so will not match up to anything shown in Open Rails. It shows that you have 8GB of RAM, about 5GB is being used to cache things (such as files on disk, so they are loaded faster) and about 5GB is easily available for a process to use if it needs it. And 30MB is absolutely free, which means it is wasted! You should always expect 'free' to be really low - the lower the better - because it means you're wasting RAM. :) The OS, even Windows XP, but especially Windows 7 and 8, will try to use all that free memory for caching (as indicated by the high 'cache' value) so that things run faster.

#4 User is offline   Klaus 

  • Apprentice
  • Group: Status: First Class
  • Posts: 29
  • Joined: 31-August 13
  • Gender:Male
  • Location:Germany-Bavaria
  • Simulator:OR/MSTS
  • Country:

Posted 05 January 2014 - 01:33 AM

Hallo,

and THANK YOU for the in-depth explanations!

Cheers
Klaus

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users