Advertisement Jump to content
Sign in to follow this  
Philip Buuck

Tutorial: Memory Management in Quake 2

This topic is 2426 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi everyone,

I'm a grad student in game development and programming and I'm studying the Quake family of engines. To that end, I developed a tutorial, complete with a small test unit program, on how Doom, Quake, and Quake 2 use malloc() and free() manage their memory. The tutorial is here on my site:


I know it's not always ideal to have links in theses forums - moderators, is their a submission method where I could offer this up as a post on itself as well? It took me several hours to put this together, and I'm hoping it can help beginning programmers learn how to manage memory. Granted, its the C language, which isn't used as often nowadays, but I'm pretty proud of this article.

I hope someone gets some use out of it!

Share this post

Link to post
Share on other sites
I hope I'll take a look at it somewhere in the future. Quake 1-2-3 was my thing (I started as a mapper).

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!