Comments (5)
Would you mind trying 14.0-RC1, see if that works? If not, please do attach the json.log
14.0-RC1 will generate. Tnx.
from openttd.
Also, how much RAM does your computer have?
from openttd.
Also, how much RAM does your computer have?
Windows 11 signals a minimum of 4 gigabytes---should be enough for any reasonable game of OpenTTD unless the computer has a virus or @sheepdeets is also cross-shopping simultaneously. I started playing OpenTTD with a Raspberry Pi 3B with 1 gigabyte of RAM, and it never threw that particular error (When I loaded a 32bpp NewGRF, it would, however, throw a "couldn't allocate 512 MB of graphics RAM, allocating 256 MB" or similar; I can't remember it exactly, it was a long time ago). This was OpenTTD 1.4.4, of course, so memory needs might have increased since then (It wasn't ten years ago, but it was, and still is, rare for ARM-anything Linux to get updates to OpenTTD, at least in the package manager).
from openttd.
Also, how much RAM does your computer have?
@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:
openttd.exe!raise(int signum=22) Line 547 C++
openttd.exe!abort() Line 71 C++
openttd.exe!error(const char * s=0x00007ff7f1930730, ...) Line 149 C++
openttd.exe!MallocError(unsigned __int64 size) Line 20 C++
[Inline Frame] openttd.exe!CallocT(unsigned __int64 num_elements=1937288) Line 95 C++
openttd.exe!Blitter_32bppAnim::PostResize() Line 536 C++
openttd.exe!VideoDriver_Win32Base::ClientSizeChanged(int w, int h, bool force) Line 916 C++
> openttd.exe!VideoDriver_Win32OpenGL::Start(const std::vector<std::string,std::allocator<std::string>> & param={...}) Line 1350 C++
openttd.exe!DriverFactoryBase::SelectDriverImpl(const std::string & name, Driver::Type type=DT_VIDEO) Line 152 C++
openttd.exe!DriverFactoryBase::SelectDriver(const std::string & name={...}, Driver::Type type=DT_VIDEO) Line 96 C++
openttd.exe!openttd_main(int argc, char * * argv=0x000000ba6813fa50) Line 755 C++
openttd.exe!WinMain(HINSTANCE__ * hInstance=0x000000000000000a, HINSTANCE__ * hPrevInstance=0x0000000000000000, char * lpCmdLine=0x0000000000000000, int nCmdShow=-584646656) Line 416 C++
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 :)
from openttd.
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!
from openttd.
Related Issues (20)
- [Bug]: Using disconnect button in main menu opens multiplayer lobby HOT 2
- [Bug]: The description for "minutes per year" could improved HOT 3
- [Bug]: GSText broken by 14.0 (Invalid parameter) HOT 2
- [Bug]: Vehicle::motion_counter for articulated train engine parts no longer updated due to #12229
- [Bug]: Desync errors since 14.0 HOT 11
- [Bug]: Station/industry nearby industry lists can become incorrect after BuildOilRig is called
- [Bug]: Timer period modifications may violate invariants of TimerManager::base_timer_sorter std::set sorting
- [Bug]: ``screenshot minimap`` is stored incorrect place in dedicated server HOT 3
- [Crash]: Assertion failed at line 114 of D:\\a\\OpenTTD\\OpenTTD\\src\\core\\pool_type.hpp: index < this->first_unused HOT 4
- [Bug]: Passengers are not accepted by all industrial factories HOT 7
- [Bug] Avatar skin color should be a dropdown menu instead of racial selectors HOT 8
- [Crash]: "id": 3221225477, "reason": "EXCEPTION_ACCESS_VIOLATION" - OpenTTD_crash20240423150954 HOT 1
- [Bug]: Unbunch breaks CargoDist HOT 3
- [Bug]: Possible race condition in WinHTTP backend
- [Bug]: Updates on admin port are unreliable HOT 1
- [Bug]: GSText maximum params HOT 1
- [Crash]: Unhandled exception in ottd:game thread: invalid stoul argument HOT 2
- [Bug]: No descriptive error message when building incorrect station layout using drag-and-drop
- Help for translating Basque (i18n issues) HOT 13
- [Bug]: No descriptive error when hostile takeover fails due to vehicle limit HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openttd.