Elvas Tower: Potential memory leak - Elvas Tower

Jump to content

  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

Potential memory leak

#11 User is offline   engmod 

  • Open Rails Developer
  • Group: Status: Contributing Member
  • Posts: 947
  • Joined: 26-February 08
  • Gender:Male
  • Location:Eltham Victoria Australia
  • Simulator:OR
  • Country:

Posted 30 May 2020 - 02:24 PM

Running it stand alone and it runs,

Testing now

standing at the pause menu for one hour, 1.5GB

Going back to 04.24 to test again.

Standing at the pause menu for one hour 210MB


Any other version to test?

#12 User is offline   Eldorado.Railroad 

  • Foreman Of Engines
  • Group: Status: Contributing Member
  • Posts: 823
  • Joined: 31-May 10
  • Gender:Male
  • Country:

Posted 30 May 2020 - 06:43 PM

In case there are any doubts:
Attached Image: Memory.gif

This is what Open Rails used to do in XNA, before memory management was "fixed".

Note how the activity starts at 670.8 Mb and climbs to 1.4 Gb at the end of the activity. Nothing is managed or ever unloaded.

Special thanks for Carlos' AutoPilot mode, which together with time acceleration allows me to produce such a graph in 20 minutes.

Thanks,
Steve

#13 User is offline   engmod 

  • Open Rails Developer
  • Group: Status: Contributing Member
  • Posts: 947
  • Joined: 26-February 08
  • Gender:Male
  • Location:Eltham Victoria Australia
  • Simulator:OR
  • Country:

Posted 30 May 2020 - 07:46 PM

Hi Steve,

Are you saying that I have not found a memory leak?
What about my comparison with 4.24 and mg63?

I do note you are using 32 bit whereas I am using 64 bit.

#14 User is offline   Csantucci 

  • Member, Board of Directors
  • Group: Status: Elite Member
  • Posts: 5,144
  • Joined: 31-December 11
  • Gender:Male
  • Country:

Posted 30 May 2020 - 11:55 PM

View Postengmod, on 30 May 2020 - 02:24 PM, said:


Any other version to test?

Here it is http://www.interazio....04.25-1551.zip .

#15 User is offline   engmod 

  • Open Rails Developer
  • Group: Status: Contributing Member
  • Posts: 947
  • Joined: 26-February 08
  • Gender:Male
  • Location:Eltham Victoria Australia
  • Simulator:OR
  • Country:

Posted 31 May 2020 - 12:58 AM

on it now!!

I could only get that one up to 374MB, so, good for me.

#16 User is offline   Csantucci 

  • Member, Board of Directors
  • Group: Status: Elite Member
  • Posts: 5,144
  • Joined: 31-December 11
  • Gender:Male
  • Country:

Posted 31 May 2020 - 11:58 AM

Derek,
Thank you.
I also tried as you did, that is with OR at initial pause.
I found the same results as you, and went further refining. U2020.04.26-1236 is still OK, while U2020.04.27-2036 isn't, as already found. In between there is U2020.04.26-1836, which is OK, but is without Monogame, so maybe it is not comparable. The change between U2020.04.26-1236 and U2020.04.27-2036 is the cab letterboxing.

#17 User is offline   Csantucci 

  • Member, Board of Directors
  • Group: Status: Elite Member
  • Posts: 5,144
  • Joined: 31-December 11
  • Gender:Male
  • Country:

Posted 01 June 2020 - 12:52 AM

Hi Derek, could you please confirm that this release does not show the problem? http://www.interazio....04.26-1236.zip

#18 User is offline   engmod 

  • Open Rails Developer
  • Group: Status: Contributing Member
  • Posts: 947
  • Joined: 26-February 08
  • Gender:Male
  • Location:Eltham Victoria Australia
  • Simulator:OR
  • Country:

Posted 01 June 2020 - 02:38 AM

testing now.

After 1 hour, memory went from 243MB to 237MB. ( yes it went down with GC )

That is good in my book.

#19 User is offline   Csantucci 

  • Member, Board of Directors
  • Group: Status: Elite Member
  • Posts: 5,144
  • Joined: 31-December 11
  • Gender:Male
  • Country:

Posted 02 June 2020 - 05:31 AM

OR NewYear MG rev. 64 should have solved the problem.

  • 2 Pages +
  • 1
  • 2
  • 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