Memory Leak – Train Fever /forums/topic/memory-leak/feed/ Wed, 30 Apr 2025 12:40:48 +0000 https://bbpress.org/?v=2.6.13 en-US /forums/topic/memory-leak/#post-11434 <![CDATA[Memory Leak]]> /forums/topic/memory-leak/#post-11434 Sat, 11 Oct 2014 15:28:22 +0000 ride I’m getting an out of memory message on the latest build. I have 8 GB of ram, of which 2 is used by other programs, so that leaves 6 to be used by Train Fever.

Game crashed to desktop with message that windows is out of memory and the train fever .exe as the cause. Please fix, thanks! Never had this with any other game I played so far.

]]>
/forums/topic/memory-leak/#post-11436 <![CDATA[Reply To: Memory Leak]]> /forums/topic/memory-leak/#post-11436 Sat, 11 Oct 2014 17:54:28 +0000 Tossi This game uses a lot of memory. It is not much of a bug but rather a requirement of the game and simulation that takes place underneath. Also if you run a lot of other programs the memory can be fragmented and then windows may be unable to assign memory for train fever properly because it doesn’t have chunk anywhere that is big enough for the game or it puts part of game between other programs and when the game wants to extend the memory reserved for that part it collides with the space taken by other programs.

]]>
/forums/topic/memory-leak/#post-11457 <![CDATA[Reply To: Memory Leak]]> /forums/topic/memory-leak/#post-11457 Sat, 11 Oct 2014 23:07:46 +0000 dr1fter you could try increasing the swap partition (UN*X) / paging file (NT) size. This will prevent memory allocation failures. however, this is bought at the price of a severe performance penalty – in particular if the device hosting the swap / paging file is a mechanical HDD and not a SSD drive.

as for the question whether or not there is a memory leak present, it would have to be investigated how memory consumption evolves during a certain period of time. a tool that would come in quite handy to do this in a graphical way would be sysinternals process explorer. however, it is true that increasing memory consumption may very well be caused e.g. by the increasing amount of population / vehicules, etc.

so to somewhat harden the evidence there is a memory leakage, you might e.g. try to run a game session for some time (monitoring memory consumption. then re-loading the same save-game you started with and comparing memory consumption (preferrably, this ought to be repeated several times).

cheers,
Christian

]]>
/forums/topic/memory-leak/#post-12273 <![CDATA[Reply To: Memory Leak]]> /forums/topic/memory-leak/#post-12273 Wed, 22 Oct 2014 20:31:00 +0000 ride It keeps giving me out of memory messages. I kept a resource monitor window open on my secondary screen and the amount of memory that is used by trainfever.exe increases all the time. The program crashed @ about 55% memory usage in total. After that, I ran a virusscan, which consumed 65% of memory, and no out of memory problems whatsoever. My best bet is a memory leak.

Also, I’m not sure if this is main program related, or mod related.

]]>
/forums/topic/memory-leak/#post-12336 <![CDATA[Reply To: Memory Leak]]> /forums/topic/memory-leak/#post-12336 Thu, 23 Oct 2014 23:33:27 +0000 Faldicek I also have this problem, previous versions did not do this. I also have 8GB RAM.

]]>
/forums/topic/memory-leak/#post-12474 <![CDATA[Reply To: Memory Leak]]> /forums/topic/memory-leak/#post-12474 Sun, 26 Oct 2014 16:21:49 +0000 ride Maybe this helps:

View post on imgur.com

]]>