PDA

View Full Version : Doom64 Crashing


Abrax
May 21st, 2004, 09:48 AM
Ok, I've just read through the Doom64 sticky thread, and I've decided not to clog the thread up with error reports. I don't really know where else to post this, but I'm sure that somebody will find this and be able to relieve me of this problem.

I'm having a problem with memory allocation. I've been using the normal Absolution.exe file to execute the program, and it ran fine, but loading times were a bit slow. I then started using the -maxzone 192 batch file, and I'd been having no problems up until now. At the end of MAP15, the game crashes trying to load MAP16, with a Z_Malloc (memory allocation) which looks like this SetupLevel: map16 (GL data found)
GL_VERT v2.0
Z_Malloc: Failed on allocation of 342264 bytes.
Please increase the size of the memory zone with the -maxzone option.
DG_Shutdown: Shutting down Direct3D...

I even edited the batch file to allow the game to use 224Mb of RAM, but I still get the same problem. I am starting to find this quite infuriating, as it is stalling my progress through the game. I have also tried warping to MAP17, which works fine. Other than this, I am having no problems with the TC other than the fact that both the LOW and HIGH quality music files just sound like static, even with fmod disabled, and some sounds have crackling and static after them.

My system, if its any help, is:
AMD Athlon xp 2400+ @2000MHz
ASUS A7N266-VM Motherboard
Sapphire Atlantis Radeon 9800 pro (128Mb)
256Mb PC3200 DDR RAM (DDR 400)
60Gb 7200rpm Maxtor Hard Drive
Win98 SE

Tylenol
May 21st, 2004, 10:26 AM
Try this instead:

Absolution.exe -maxzone192

The last release had the maxzone batch file wrong, there shouldn't be a space between the numbers and the command. I got that same problem and couldn't figure it out. I used the bat, and it still gave me the error. Only after removoing the space, did it work. Just one of those things.

Abrax
May 21st, 2004, 01:21 PM
Cheers Tylenol, I'll try it in a minute, I've not done much involving .bat files before. I hope this solves my problems.

Kaiser
May 21st, 2004, 09:18 PM
This doesn't sound good. I hope its not somthing to do with the map.

Anyways, its more likey caused when loading a mp3 data file from within the wad. Like mentioned above, increase the maxzone.

elbryan42
May 22nd, 2004, 08:55 AM
I usually set my maxzone to at least 500. :P I know it's overkill, but just in case I throw a really big music wad in there instead.

Yeah, it's a memory problem. You get that error when you don't have enough memory set aside to load the music, the map, the graphics, and such. Take it from the guy who made the mp3 wads. ;)

Abrax
May 22nd, 2004, 03:39 PM
Yep, it was a memory problem, the game runs fine now, without any problems, and I can use the high quality music file as well. Thanks for the help peeps, its much appreciated.

LigH
October 17th, 2007, 09:07 AM
I can already not load map 02. Like the report above, it can not allocate memory and crashes.

The funny thing is: It doesn't matter how much memory I add in the "-maxzone" parameter. Absolution.exe always only allocates 16 MB. I have 1.5 GM RAM here, I changed the batch file to

Absolute.exe -maxzone 64
Absolute.exe -maxzone 192
Absolute.exe -maxzone 512
Absolute.exe -maxzone 65536 (who knows, is it meant to be MB or KB?)

and still I get in the log file (Absolute.out) only the following:

...
Z_Init: Init zone memory allocation daemon.
16.0 Mb allocated for zone.
...

SetupLevel: map02 (GL data found)
GL_VERT v2.0
Z_Malloc: Failed on allocation of 308864 bytes.
Please increase the size of the memory zone with the -maxzone option.
DG_Shutdown: Shutting down Direct3D...

Always "16.0 Mb allocated for zone.", no matter what I try to set up.

When I omitted the "-maxzone" parameter completely, I even got 32 MB. How interesting.

Finally, I remembered setting up the MySQL server and the Apache webserver ... So I just tried

Absolute.exe -maxzone 64M

Note the "M" following the "64"! -- And Indeed, I got 64 MB allocated.

The maximum value is

Absolute.exe -maxzone 256M

for 256 MB.

SKARD
October 18th, 2007, 07:42 AM
1) This tread is over 3 years old.
2) Read the second post. Don't use a space before the number.

LigH
October 23rd, 2007, 04:11 AM
In over 3 years, the DOOM 64 builders could have included a fixed batch file already! *tumble*

And 19 pages of the other thread ... no surprise one can get lost there. Especially non-native english speakers.

SKARD
October 23rd, 2007, 06:43 AM
It must have seemed like a minor thing to make a new release for that alone. Hopefully it will be redone when 1.9.0 is finalized. I started playing the 64 TC and ran into a few problems.
Greater than 100% kills
Levels without secrets say 0%
I had to get a running jump into a hole with the unmaker in it in order to pick it up
Intermission typos

DaniJ
October 23rd, 2007, 06:49 AM
Once the updated Doom64TC is released running under Doomsday 1.9.0 all of these related problems will be avoided as the static memory zone has been replaced with one which resizes dynamically as required.