Topic: Memory problem build20
minero![]() Topic Opener |
Posted at:
2020-05-01, 12:06 UTC+2.0
Hi, I play the Frisian campaign "From Water to Ice". The game crash after I defeated the Babarian and get the new mission (conquer all fields of the empire). After that I look at dmesg and see that is a out of memory problem. I look for the problem and see with htop/top that widelands allocate huge (20 TB) of virtual memory.
I use build20 self compiled from source. Is this problem known? Thanks and best, minero ![]() ![]() |
Nordfriese![]() |
Posted at:
2020-05-01, 12:15 UTC+2.0
Moin minero and welcome to the forums The problem is known and was already fixed in the current development version. ![]() ![]() |
minero![]() Topic Opener |
Posted at:
2020-05-01, 13:13 UTC+2.0
Thanks for the quick answer and campaigns. I will patch and test it in the evening. But that is not the reason of the huge virtual memory? ![]() ![]() |
kaputtnik![]() |
Posted at:
2020-05-01, 13:23 UTC+2.0
Isn't this the same issue as for the Atlantean mission? ![]() ![]() |
Nordfriese![]() |
Posted at:
2020-05-01, 13:36 UTC+2.0
No, the Atl-like one happens sometimes in fri01. this here is referring to fri02 where it was just forgotten to add some sleep time in loops to give the garbage collector time to free the allocated memory. ![]() ![]() |
minero![]() Topic Opener |
Posted at:
2020-05-01, 20:48 UTC+2.0
Ok. I change
and added the line
but this not solve the problem.
With the release 19 from the debian 10 distribution at the same system I haven't this problem. I will clone the development version and try it with upcoming version. ![]() ![]() |
Nordfriese![]() |
Posted at:
2020-05-01, 20:52 UTC+2.0
There are two places where you need to add the sleep(). Unfortunately due to some Lua implementation detail the old (buggy) state is stored in the savegame so you will need to restart the scenario from the beginning for the change to take effect ![]() ![]() |
minero![]() Topic Opener |
Posted at:
2020-05-01, 21:02 UTC+2.0
Ooohhh nnnooo. ![]() ![]() |
Lawrence![]() |
Posted at:
2020-05-02, 12:03 UTC+2.0
I just read the posts in this conversation. I am not sure if my problem is covered by the things you have mentioned. I am playing build 20 on Windows 7. At random time periods everything starts to flicker multi colours. I save my game and exit Widelands completely. When I re-load the game the problem is not there but often returns again a few minutes later. I am sure you would have fixed this in a later release. Accept the challenge to excel with the humility to receive help. ![]() ![]() |
Nordfriese![]() |
Posted at:
2020-05-02, 19:45 UTC+2.0
Moin Lawrence and welcome to the forums This sounds like a different bug. My first guess would be that your driver does not like OpenGL. Can you please provide the Widelands standard output with the graphics report (see https://www.widelands.org/wiki/Technical%20FAQ/#how-do-i-get-log-output-in-windows-for-debugging) and optionally a screenshot of the issue? ![]() ![]() |