APSIMInitiative / APSIM710

APSIM
https://www.apsim.info
31 stars 47 forks source link

ApsimX: Simulation's time to run increases with every run. #1349

Closed ApsimBot closed 5 years ago

ApsimBot commented 5 years ago

Legacy Bug ID: 1917 Author: Justin Date: 2014-07-08 10:43:04 +0000 UTC

Here are some run times for a simulation from the Oil Palm Validation set. These were run one after the other, nothing was changed, nothing was clicked (note ApsimX was running in Release mode in VS2010):

13.75 sec 14.30 sec 16.87 sec 18.84 sec 21.39 sec 23.66 sec 26.04 sec 29.73 sec 31.81 sec 33.09 sec 34.43 sec 34.97 sec 36.61 sec

Restart ApsimX and the issue resets: 13.44 sec 16.36 sec 18.60 sec

ApsimBot commented 5 years ago

Author: fai04d Date: 2014-07-08 20:16:00 +0000 UTC

Frond, Bunch and Root lists are not being cleared thus grow every run.

ApsimBot commented 5 years ago

Author: fai04d Date: 2014-07-09 14:51:00 +0000 UTC

Oil Palm now creates new lists on every run.