1

Topic: Random crashes

James,

The memory usage definitely spikes when I load the game which is normal. but it stays around 900MB unless a lot is going on right before I crashed it spiked close to 1500MB. I'll have to load a comparable game and see what's "normal". Most of the time when I crash, I'm usually just roaming the map.

-Z

2

Re: Random crashes

Is this new to a recent version, or has it always been doing this for you? I've been getting quite a few low-memory crash reports lately.

3

Re: Random crashes

James wrote:

Is this new to a recent version, or has it always been doing this for you? I've been getting quite a few low-memory crash reports lately.


oddly crashing less after this last update. but after our talk the other day i tend to avoid those areas resulting in less crashes

-Z

4

Re: Random crashes

Well, turns out the memory usage is a simple bug:

void DrawInfo::Refresh(float timeStep) { if (mViewable) { mViewable->Refresh(timeStep); } }

void Viewable::Refresh(bool forceUpdate) { ... }

Ooooops....

If the wall tile had an alpha channel (ivy, cactus, rhododendron), it'd reload, for every single tile, every single frame.
And that would queue up if it fell behind.
Amazing how fast computers are these days.

(Still need to find out why it didn't trigger to clear out memory when it went above 1GB.)

5

Re: Random crashes

I've posted an update fixing the bug.

6

Re: Random crashes

James wrote:

I've posted an update fixing the bug.

thank you for fixing!

-Z