The International Simutrans Forum

Simutrans Extended => Simutrans-Extended bug reports => Simutrans-Extended development => Simutrans-Extended closed bug reports => Topic started by: jamespetts on August 05, 2010, 11:00:13 AM

Title: Re: No transfer at overcrowded stations.
Post by: jamespetts on August 05, 2010, 11:00:13 AM
Quote from: prissi on August 05, 2010, 10:18:15 AMAlso there seems to be memory leak(s), the memory consumption of the routing is increasing and increasing during tests with SE.

Hmm - can you provide more information on this? Over what period of time does the consumption increase? And does it increase constantly, or in jumps at month ends? One would expect it to increase for a while after the start of the game given the caching, but obviously not to increase for ever. How are you able to localise the increase to routing in particular? And are you able to narrow down the memory leak any further than that, to a particular part of routing?
Title: Re: No transfer at overcrowded stations.
Post by: prissi on August 05, 2010, 01:32:39 PM
LOad "THe world" I sent to your and start it. First memory consumption is greatly reduced (I suppose all passengers are discarded after loading?) and then SE as well as standard increase their memory consumption due to allocation of new passengers. Standard levels of after 130MB or so but SE continues on an on.
Title: Re: No transfer at overcrowded stations.
Post by: jamespetts on August 05, 2010, 01:43:55 PM
Prissi,

thank you for that diagnostic information. I have been rather busy lately, but when I get a chance, I shall have a look into that. What was it that made you think that the memory leak comes from routing rather than something else?
Title: Re: No transfer at overcrowded stations.
Post by: prissi on August 05, 2010, 04:39:06 PM
SImilar increasing with time when not touching the game at all.
Title: Re: Re: No transfer at overcrowded stations.
Post by: jamespetts on December 23, 2010, 12:35:42 PM
Prissi,

I am trying to load this map in order to attempt to diagnose this issue, but using either the latest nightly of Pak64 or a much older version on my hard drive, it fails to load, complaining that it is missing the "cow farm" object. Is there an addon somewhere that I need to install to make this map work?
Title: Re: No transfer at overcrowded stations.
Post by: Dwachs on December 23, 2010, 01:06:22 PM
there was something like a food-chain addon for pak64. Should be at sourceforge.
Title: Re: Re: No transfer at overcrowded stations.
Post by: jamespetts on December 23, 2010, 02:06:45 PM
Thank you - that helped me to load it. On testing the latest -devel branch, no memory leak is apparent: the game stabilises at 196mb with the debugger running in MSVC++.