Runtime ran out of virtual memory error causes crash

  • Two Factor Authentication is now available on BeyondUnreal Forums. To configure it, visit your Profile and look for the "Two Step Verification" option on the left side. We can send codes via email (may be slower) or you can set up any TOTP Authenticator app on your phone (Authy, Google Authenticator, etc) to deliver codes. It is highly recommended that you configure this to keep your account safe.

brunomartelli

New Member
Hi I'm getting a run out of virtual memory error causing a crash to desktop..
I have self assigned virtual memory, 1.5 times my ram, I'm running windows xp pro 64 bit, on a new empty HD I have no other software on that HD. Are there any other factors that I should look out for? The crash happens after I've run my map for approx 2 hrs. I used to get this error a long tone ago, then I cut the map up into zones. This fixed it, but recently had to reinstall and added the new HD for the Os. Any debugging clues or ideas gratefully recieved


Bruno
 

Wormbo

Administrator
Staff member
Jun 4, 2001
5,913
36
48
Germany
www.koehler-homepage.de
There is no 64bit version of the Runtime, so it will always be limited to 2GB of memory in total like any other 32bit application. Try monitoring the runtime's memory usage with the task manager or a more sophisticated tool like Process Explorer.

If it really hits a memory limit after some time, you could probably try creating a custom actor for your map that forces garbage collection from time to time. Note however, that garbage collection freezes the game for a few seconds.

Your other options include building your map for UT2004 or UT3 instead. These games have also been compiled for 64bit environments and can take full advantage of your available memory. UT3 would also have frequent background garbage collection to keep memory usage as low as possible.
 

brunomartelli

New Member
Hi, thanks for the replies,
- no haven't looked in the log, someone else restarted the map after both crashes. Sadly I don't have much idea how to create a custom actor, also my biggest problem is that the thing is in an exhibition, so I haven't the luxury of spending a long time tinkering with it, or rebuilding it.
The only thing thats really changed is that I was developed on another machine and I moved all the unreal directory over to this machine.
2. I added a tiny room to the map
3. The machine got shipped and the Os HD needed replacing with a new one.
Previously the machine/map combo has been extremely stable. I was going to do a clean install of runtime this morning and move the map assets over.
 

brunomartelli

New Member
it seems to be turning out that if you move your unreal folder over to a different machine, it creates problems. Doing a clean runtime install then adding all the packages + bits needed for the map helps. Also increasing Virtual memory a lot seems to help