Elvas Tower: Using more than 2GB RAM - Elvas Tower

Jump to content

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

Using more than 2GB RAM Rate Topic: -----

#1 User is offline   JorD1 

  • Fireman
  • Group: Status: Active Member
  • Posts: 114
  • Joined: 16-March 13
  • Gender:Male
  • Location:The Netherlands
  • Simulator:MSTS & OR
  • Country:

Posted 14 December 2013 - 02:33 PM

A little trick I tried on OR allowed me to use more than 2GB ram.

Attached Image: OR2gb.png

I tested it with a very heavy route (TRAT321), on the "normal" OR version it crashed in many places, in the modded version works fine.
(Above is with the same visibility settings, lower visibility <1000 worked on standard OR too)

How this trick works:
1. Download and install CFF explorer.
2. In CFF explorer open RunActivity.exe
3. In the left window find File Header and click it.
4. In the right window find Characteristics and click on "Click Here"
5. A new window opens, tick the box before: "App can handle >2GB adress space"
6. Click OK
7. Under File choose SAVE.

DO NOT forget to backup the runactivity.exe first.
Only bug I OR I found after this is that the F5 hud RAM counter will do strange if more than 2 gb is used. (Saying negative or no numbers)

I had it just over 3gb ram doing some test with visibility at 5km on the TRAT321 in prague region.

Cheers Jordi

Edit: Video showing how CFFexplorer and this trick works.


Edit 2: Is it possible to make OR large adress aware from the source. It has advantages in running heavy MSTS routes, otherwise you'll get an OutOfMemoryException.

#2 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 14 December 2013 - 03:12 PM

View PostJorD1, on 14 December 2013 - 02:33 PM, said:

Edit 2: Is it possible to make OR large adress aware from the source. It has advantages in running heavy MSTS routes, otherwise you'll get an OutOfMemoryException.


It is not a supported configuration for .NET applications, so we cannot make the official versions with this flag. (The correct fix is to use an AnyCPU .NET build and a 64bit OS, but currently we can't do that for other reasons.) However, since I have been making automatically created builds, I can potentially include a specially modified executable people can try without having to use other tools.

#3 User is online   Csantucci 

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

Posted 15 December 2013 - 03:34 AM

Yes please! The amount of routes needing that to run well is increasing.

Referring to the automatic builds, it would be nice if inside the filename also the OR revision number could appear.

#4 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 15 December 2013 - 04:06 AM

View PostCsantucci, on 15 December 2013 - 03:34 AM, said:

Yes please! The amount of routes needing that to run well is increasing.

Referring to the automatic builds, it would be nice if inside the filename also the OR revision number could appear.


The latest build on my site now includes a RunActivityLAA.exe that you can use in place of RunActivity.exe to get /LargeAddressAware support.

I have also added the version number to the downloaded file.

#5 User is online   Csantucci 

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

Posted 15 December 2013 - 07:02 AM

That's great James, :wallbash: To achieve perfection and even more, could you insert the version number in the link name too? :(

#6 User is offline   JohnnyS 

  • Conductor
  • Group: Status: Active Member
  • Posts: 287
  • Joined: 05-May 11
  • Gender:Male
  • Simulator:OR/MSTS
  • Country:

Posted 15 December 2013 - 07:36 AM

Quote

That's great James, :wallbash:


Yeah, thanks very much for this and all the other improvements and fixes made by the development team.

#7 User is offline   Gary54 

  • Fireman
  • Group: Status: Inactive
  • Posts: 134
  • Joined: 08-May 13
  • Simulator:OR
  • Country:

Posted 15 December 2013 - 11:51 AM

The described modification to the Runactivity.exe intrigues me as I have been working with some very resource intense routes. Given that I am running a 64 bit system, is using RunActivityLAA.exe simply a matter if changing the file name in the latest build to from RunActivityLAA.exe to RunActivity.exe, or are we to follow the procedure described at by JorD1 at the outset of this topic?

Many thanks.

Gary

#8 User is online   Csantucci 

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

Posted 15 December 2013 - 01:09 PM

Simply rename RunactivityLAA.exe to Runactivity.exe. That's all.

#9 User is offline   Gary54 

  • Fireman
  • Group: Status: Inactive
  • Posts: 134
  • Joined: 08-May 13
  • Simulator:OR
  • Country:

Posted 15 December 2013 - 02:51 PM

Thanks very much for the quick response.

#10 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 15 December 2013 - 03:23 PM

View PostGary54, on 15 December 2013 - 11:51 AM, said:

Given that I am running a 64 bit system, is using RunActivityLAA.exe simply a matter if changing the file name in the latest build to from RunActivityLAA.exe to RunActivity.exe, or are we to follow the procedure described at by JorD1 at the outset of this topic?


Yup, just rename it and (because you're on a 64bit OS) you'll immediately get 4GB of virtual address space in OR instead of the usual 2GB. :wallbash:

  • 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