1.32 Trader Logs Cause Memory Leak

Ask here if you experience technical problems with X4: Foundations.

Moderator: Moderators for English X Forum

Pandorian
Posts: 110
Joined: Mon, 25. May 15, 03:24
x4

1.32 Trader Logs Cause Memory Leak

Post by Pandorian »

So every time you complete a trade you get a pop up on the left side of your screen saying "Trade Complete" with a notice of how much the trade brought in. If you make multiple trades in a row, those popups queue up and then display when it's their turn. The memory leak occurs when you conduct more than one trade in the time it takes for the popup to show on your screen and then disappear. So 1 popup occurs and you complete 2 trades, you now have 2 popup windows in the queue. The next one pops up but you've completed another 2 trades in this time so now your queue is 3 long. Over time this leads to increased RAM usage as it keeps adding these popups to the queue. I've encountered my game jumping from 4.6 to 10.6 over a long session and I've encountered this multiple times. I can tell that these popups are in a queue because I can drain my bank account and then get it added back up and the popup will say my account is 2M when in fact I have 50M. I've even had cases before I maxed rep where there was a difference of 2 numbers in the rep shown and my actual rep.

EDIT: Ram usage before and after reset when the game's been running a while. https://imgur.com/Y1OkedS
EDIT 2: Can provide video evidence if needed.

Return to “X4: Foundations - Technical Support”