Memory management

Hello! I’ve got a question, but it is not directly an opengl question. I’m working on a game engine, so I thought some of you might be able to help me. I’m thinking of writing a memory management system, but I don’t know if I should use the new operator or the VirtualAlloc + my own memory management (reserve, commit, freespace management). Which would be suitable or at least what is the difference between them? Thanks in advance.

For sure it’s not OpenGL related there,
concerning memory management you should get many != advices. Anyway, i’ve started to write some articles about this kind of stuff -> http://www.orkysquad.org (X-TRA section)

Most of the time, writing a memory manager is a lost of time and isn’t required, depending on what u’re supposed to code for? a ‘game’ or an ‘operating system’.?? :wink:

Anyhow think easy, think simple.

hth

[This message has been edited by Ozzy (edited 07-06-2002).]

Thank you for the reply, I’ll check that site…