Game Development Community

Virtual Memory problem

by CDK · in Torque Game Engine · 07/28/2005 (1:15 am) · 6 replies

Hi guys when I start Torque SDK I get a message that pops up saying error allocating virtual memory this is happing on my homepc but the SDK is running fine at work?

These guys had the same problem

http://www.garagegames.com/mg/forums/result.thread.php?qt=28632

any ideas?

#1
07/28/2005 (10:49 am)
It's likely it's a hardware problem; the error comes up when Torque cannot allocate memory from the operating system, which it can usually do if you have a system with more than a hundred megs of RAM and any free hard drive space.

If you're really concerned, I suggest running it in a debugger and seeing if the memory issue comes up in a consistent place.
#2
08/10/2005 (12:26 am)
Hi sorry

It took me some time to get back. Been very busy the last few days

Here is the Debug info, the torque game compiles fine it seems to freak out when it start loading the DLL form windows, any ideas how to solve this

Loaded 'C:\Torque\SDK\example\torqueDemo.exe', no matching symbolic information found.
Loaded 'ntdll.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\kernel32.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\user32.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\gdi32.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\advapi32.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\rpcrt4.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\winmm.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\wsock32.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\ws2_32.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\msvcrt.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\ws2help.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\uxtheme.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\MSCTF.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\dinput8.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\hid.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\setupapi.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\opengl32.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\glu32.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\ddraw.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\dciman32.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\mcd32.dll', no matching symbolic information found.
Loaded 'C:\Torque\SDK\example\OpenAL32.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\ole32.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\clbcatq.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\oleaut32.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\comres.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\version.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\dsound.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\wdmaud.drv', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\wdmaud.drv', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\msacm32.drv', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\msacm32.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\midimap.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\ksuser.dll', no matching symbolic information found.
The thread 0x7EC has exited with code 0 (0x0).
The thread 0x7FC has exited with code 0 (0x0).
Loaded 'C:\WINDOWS\system32\mswsock.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\wshtcpip.dll', no matching symbolic information found.
The thread 0x80 has exited with code -1 (0xFFFFFFFF).
The thread 0x7E8 has exited with code -1 (0xFFFFFFFF).
The thread 0x7DC has exited with code -1 (0xFFFFFFFF).
The thread 0x718 has exited with code -1 (0xFFFFFFFF).
The thread 0x7CC has exited with code -1 (0xFFFFFFFF).
The program 'C:\Torque\SDK\example\torqueDemo.exe' has exited with code -1 (0xFFFFFFFF).
#3
08/15/2005 (5:21 am)
Hi

Just an update

I've re installed to newer versions of those DLL and I'm still getting those errors
#4
08/15/2005 (10:28 am)
Those aren't errors. That's just status information from the debugger.
#5
08/16/2005 (2:11 am)
OK so you are saying that this is useless

Well this is all I get from the debugger in visual studio 6

Like I said the torque compiles fine with out any errors

Anyway damdest thing I've ever seen :p
#6
08/16/2005 (11:35 am)
The debugger stuff you want is found in the call stack window, in the locals window, and so forth.

Here are some sites with info on how to use the debugger:

www.cems.uvm.edu/~upe/resources/debugging/visualCDebug/
ei.cs.vt.edu/~cs1205/c_debug/intro.html - note links to next/prev page at top right of page.

Knowing how to debug is one of the most valuable skills you can have as a developer.