Elvas Tower: Private ORTS versions - Elvas Tower

Jump to content

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

Private ORTS versions How could it work Rate Topic: -----

#1 User is offline   NickonWheels 

  • Conductor
  • Group: Status: Active Member
  • Posts: 327
  • Joined: 05-December 19
  • Gender:Male
  • Simulator:ORTS
  • Country:

Posted 05 April 2020 - 11:12 PM

Hi folks

I guess some know this problem too, the downloadable ORTS code when compiled with VisualStudio builds with only using 2GB of memory space, which causes it to crash even on not very object-intense routes, even if you have a 64-bit system. Official "unstable" ORTS versions use 4GB.

Did somebody have an idea on how a private version could work the same way (without any performance disadvantages) as the official versions?

#2 User is offline   perpetualKid 

  • Fireman
  • Group: Status: Active Member
  • Posts: 190
  • Joined: 10-June 18
  • Gender:Male
  • Simulator:OR
  • Country:

Posted 06 April 2020 - 10:32 AM

View PostNickonWheels, on 05 April 2020 - 11:12 PM, said:

Hi folks

I guess some know this problem too, the downloadable ORTS code when compiled with VisualStudio builds with only using 2GB of memory space, which causes it to crash even on not very object-intense routes, even if you have a 64-bit system. Official "unstable" ORTS versions use 4GB.

Did somebody have an idea on how a private version could work the same way (without any performance disadvantages) as the official versions?


unless you are switching to an Monogame version (which on the official Code is only available via this pull request https://github.com/o...enrails/pull/40), OR is available as 32bit version only.
You will need to force your code to compile AnyCPU and set the "Prefer 32bit mode" for all projects, or alternatively if the code is compiled to x86 only, use "editbin /largeaddressaware your.exe" to enable LAA mode and use 4GB memory max. In x86 mode you'll only get 2GB as you already experienced, and as said, the only way to go beyond 4GB is to switch to 64bit mode (or AnyCPU) compilation, which requires a Monogame version, and comes with some other challenges.

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