[TWEAK] B1776 Minimizing hangs CMO, memory use increased

Post bug reports and ask for game support here.

Moderator: MOD_Command

Post Reply
Nikel
Posts: 3642
Joined: Tue Mar 24, 2009 10:51 am

[TWEAK] B1776 Minimizing hangs CMO, memory use increased

Post by Nikel »

Load the scenario posted by maverick3320.

https://forums.matrixgames.com/viewtopi ... 5#p5258875

Run it after the fuse error (visible in B1776), stop the simulation and minimize CMO.

In the task manager you may see CMO not responding and an increase of the memory use from 3,5 to more than 6 Gb and then back to 3,5 again.

It may recover or not and need to close in the task manager.
Dimitris
Posts: 16081
Joined: Sun Jul 31, 2005 10:29 am
Contact:

Re: B1776 Minimizing hangs CMO, memory use increased

Post by Dimitris »

Is this happening in general or only specifically in this scenario?
Nikel
Posts: 3642
Joined: Tue Mar 24, 2009 10:51 am

Re: B1776 Minimizing hangs CMO, memory use increased

Post by Nikel »

Still see this happening in B1817.

Another example, Knightpawn save posted in the link below.

To reproduce, load the save, run at double flame for some seconds, stop the simulation, minimize.

CMO is hanged, maximizing it, you may see that the memory use is increased until more than 6Gb, later will come back suddenly to more than 3GB, but still hanged.


https://forums.matrixgames.com/viewtopic.php?t=414535

CNRM.png
CNRM.png (7.89 KiB) Viewed 898 times
Dimitris
Posts: 16081
Joined: Sun Jul 31, 2005 10:29 am
Contact:

Re: B1776 Minimizing hangs CMO, memory use increased

Post by Dimitris »

Logged #17489
Nikel
Posts: 3642
Joined: Tue Mar 24, 2009 10:51 am

Re: [LOGGED] B1776 Minimizing hangs CMO, memory use increased

Post by Nikel »

When it happens, most of the screen is black.

Only a small part on the top left is not, with what should be the screen.


CMOH.png
CMOH.png (10.65 KiB) Viewed 733 times
Nikel
Posts: 3642
Joined: Tue Mar 24, 2009 10:51 am

Re: [LOGGED] B1776 Minimizing hangs CMO, memory use increased

Post by Nikel »

I see this line in the changelog.
TWEAK: Added safety checks for scenario event causing UI refresh when Command is minimized

However it may still happen in B1900.23, after a long session playing.

In this case the background was blank.


HM.png
HM.png (9.83 KiB) Viewed 573 times
Dimitris
Posts: 16081
Joined: Sun Jul 31, 2005 10:29 am
Contact:

Re: [LOGGED] B1776 Minimizing hangs CMO, memory use increased

Post by Dimitris »

Is this happening to literally anyone else?

A bug happening only on a unique machine is usually not a game bug, but a machine/OS/driver bug.
Dimitris
Posts: 16081
Joined: Sun Jul 31, 2005 10:29 am
Contact:

Re: [LOGGED] B1776 Minimizing hangs CMO, memory use increased

Post by Dimitris »

We added some tweaks for the next update that _may_ help with this (saying "may" because we have not been able to reproduce this locally, so we are not certain the tweaks will help).
Nikel
Posts: 3642
Joined: Tue Mar 24, 2009 10:51 am

Re: [TWEAK] B1776 Minimizing hangs CMO, memory use increased

Post by Nikel »

Thanks, I will test and report back.
Nikel
Posts: 3642
Joined: Tue Mar 24, 2009 10:51 am

Re: [TWEAK] B1776 Minimizing hangs CMO, memory use increased

Post by Nikel »

I have done some more testing with 1900.24 using Knightpawn's save.

https://forums.matrixgames.com/download ... id=1247780


CMO hangs systematically here when minimized, after loading that save.

However if you clear the log before minimizing, the problem will not happen, I can minimize, and the game recovers instantly when maximized.

The problem does not happen with small scenarios or when the log is small.
Nikel
Posts: 3642
Joined: Tue Mar 24, 2009 10:51 am

Re: [TWEAK] B1776 Minimizing hangs CMO, memory use increased

Post by Nikel »

More testing with old builds. No idea whether this type of tests are useful for you, but here are the results.


With the save attached from 2024, I guess I downloaded from the forum, but cannot find the thread.

It will hang CMO after loading and minimizing, builds 1900.24, 1776 and 1728.2

However it will not, builds 1500, 1662 and 1706.

If you clear the log before minimizing, the hanging will not happen.


So it must have been a change in the handling of the log when minimized, between builds 1706 and 1728?
Attachments
select new homebase not work.zip
(3.79 MiB) Downloaded 3 times
Post Reply

Return to “Tech Support”