MODSon[line.com] Wiki - Beta 1.0

World at War: Common Compile Tool Errors

From MODSonline Wiki

Jump to: navigation, search

[edit] Virtual Memory Errors

- The Following was tested on WindowsXP32bit OS

Expression:
    (g_streamOutMemory)
	("VirtualAlloc returned NULL; may be out of memory") = VirtualAlloc returned NULL; may be out of memory

Module:    #:\Location\of\your\game
File:    E:\cod5\cod\codsrc\src\database\db_stream_save.cpp
Line:    509

Example:

When trying to compile a FastFile linker_pc will crash and windows will display the above message.

Solution:

Hit "Ctrl+alt+delete" > "View" > "Columns"

Tick "Virtual Memory Size".

On the Processes tab there will now be another column called "VM Size". You can use the task manager now to shut down and programs that should not be running that are using a high amount of virtual memory.

After doing this run the FastFile build again.

If the error continues then:

Go to Control Panel > System > Advanced > Performance (Settings)

Under "Virtual Memory" click "Change" and select the drive letter where the Game and Linker_pc are installed (should be the same directory!).

Now tick "System Managed Size" > "Set", "OK" and "OK" the other windows.

Restart your computer.

Run the Launcher again after the restart and compile a FastFile.

Did this work for you? Use the 'Discussions Tab' to comment.

Personal tools