Doom was released in 1993. 128MB of RAM wouldn't even fit in the typical mobo of the time.

http://www.dosdays.co.uk/topics/1993.php

Yes you are right, could be a memory leak somewhere, I’ll need to take a look at it

It only supported 320x200 as resolution at the time though.