5 years ago
Random Crash to Desktop
My game has been working the best way it could for the last couple of days with nearly no freezes except Overwatch 3 AM cleaning; however, it started random crashes to desktop today and this last one...
@Darens-Stuff The game can't actually use 4 GB of VRAM, only 800 MB. By that I mean video memory, as opposed to system memory. The term "virtual memory" is misused by the game here; the important point is that it can only use 4 GB minus some overhead of system memory, since it can only use 2^32 memory addresses. By the way, the overhead is at least in part due to the cost of translating certain 32-bit instructions for a 64-bit OS: most instructions don't need to be translated at all, but those that do cost extra resources. The translation process is called thunking.
Anyway, there's nothing you can do to entirely prevent the RAM spikes, and one of these spikes was clearly the issue here. Whatever the Task Manager was saying at the time, the game ran out or thought it ran out of memory according to its own report. Maybe it didn't properly release the data for the lots you were checking out; Sims 3 definitely has issues with RAM leaks. Maybe something else happened in the background. I don't know that there's any way to tell. And there certainly isn't a way to force-limit the game's memory use without also causing it to crash when it hits that limit.
I see. I also got the RAM and VRAM mixed up while going back and forth to DeviceConfig haha.
Today it did not crash, and the animations became even smoother. It's really unexpected how the game will act, so I guess I will just cross fingers each time.