Tweaks
3 months ago
2.0
2.20K
Cheats

g Memory leak with Kingjo's Aircraft (notably B-17)

2 months ago

As noted.
Having both installed, and dropping a bomb from a bomber (my test items were B-17 Flying Fortress and a 1000lbs bomb), causes a memory leak severe enough to crash my PC out in about 30 seconds (not even BSOD, just straight system crash).

Factorio logs don't show anything notable before it happens.

2 months ago

Hi,

I experience the same, once I drop a bomb (tried 1000lbs and 500lbs) I hear a loud sound first, then the game freezes while I can see my RAM usage is spiking:
https://i.imgur.com/tOvX7QR.png

After a few seconds later Windows tells me Factorio is not responding and I can force exit the game.

I'm not sure how TheKingJo uses ammo, if they rely on it being consumed when dropping bombs and thus causing a infinite loop?
My mod sets consumption_modifier to zero, so they can't be consumed.

2 months ago

I'll try poking him on his mods, because yeah if a change that simple causes a memory leak, sounds like something strange is going on.

thanks for the insight!

2 months ago
(updated 2 months ago)

I have no clue why the game does what it does. All I know is that it must have to do with the bomb bays not using a cooldown and relying on the reload_time property in the bombs. This prevents them from being launched all at once. However why the consumption modifier somehow bypasses that mechanic, I have no clue.

New response