Ludeon Forums

RimWorld => Support => Topic started by: IncredibleNode on October 14, 2013, 07:09:14 PM

Title: ISSUE : Found out that large selections lead to crashes
Post by: IncredibleNode on October 14, 2013, 07:09:14 PM
Large selections and un-selecting causes mass lag and in some cases crashes, I think this may be related to a memory leak as when i analysed this i saw massive RAM and Virtual memory usage as well as performance drops.
Title: Re: ISSUE : Found out that large selections lead to crashes
Post by: Tynan on October 15, 2013, 12:17:50 PM
If you have the output_log.txt file (if it exists) from your data folder, this would be useful! Thank you.
Title: Re: ISSUE : Found out that large selections lead to crashes
Post by: Blitz on October 15, 2013, 12:46:35 PM
I had this happen as well. It did not crash on me, but it did drop down significantly.
Title: Re: ISSUE : Found out that large selections lead to crashes
Post by: Hypolite on October 15, 2013, 01:46:28 PM
The same when I ordered a large zone to be paved. There was a huge drop in performance while the tile-selecting smoke was displayed,and a significant lag that reduced with the remaining number of tiles to be worked on.
Title: Re: ISSUE : Found out that large selections lead to crashes
Post by: Tynan on October 15, 2013, 01:56:27 PM
Quote from: Hypolite on October 15, 2013, 01:46:28 PM
The same when I ordered a large zone to be paved. There was a huge drop in performance while the tile-selecting smoke was displayed,and a significant lag that reduced with the remaining number of tiles to be worked on.

Yes, this is because it draws the temporary tiles one-by-one, one draw call each. Which is really bad.

I suspect the same is happening for large selections, with it drawing the selection box a thousand times, separately each time.

Will move on fixing this.