-
-
Notifications
You must be signed in to change notification settings - Fork 843
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Crash]: on startup (out of memory, couldn't allocate ~~~ bytes) #12257
Comments
Would you mind trying 14.0-RC1, see if that works? If not, please do attach the |
Also, how much RAM does your computer have? |
This comment was marked as off-topic.
This comment was marked as off-topic.
@James103: for your context, this kind of information is now in the crash logs since 14.0. Also the reason why I am asking for one, so we can actually see what kind of system it runs on. Also what GRFs are loaded, etc :) Backtrace:
So on-start we already run out of memory, by just allocating the video-buffers. So yeah, very curious to see what 14.0 thinks about this :) |
An out-of-memory error means exactly that: OpenTTD tried to allocate memory that wasn't available on your system. Mostly this is caused by having too little memory free to run the game. OpenTTD normally runs with ~100MB of RAM or so, but depending on what you have loaded this can increase. Especially when 32bpp sets are loaded, it can consume more than 1GB of RAM. And when playing a 4k x 4k map, that can boom to ~2GB or so. Mostly what we see is that users also have software like Chrome active, with many many many open tabs, which drain their available memory. So if this error persists, my suggestion would be to check how much free memory is available, and see what hogs the memory the most. It is not likely to be OpenTTD, at least, we see no evidence of it using an absurd amount of memory. If you still have this problem, please get back to us with a crash.json.log from 14.0 :) Hope this helps! |
Version of OpenTTD
13.4 (0) Windows 11
Steps to reproduce
Also I got the Out of memory message in the game the second time I booted up.
I don't have issues while playing the game.
This isn't an old computer (using Win11)
Upload crash files
crash20240310124203.zip
The text was updated successfully, but these errors were encountered: