I think doomhack is the best guy to ask, he did the insane optimisations.
But what I do know is a lot of TNT levels such map31 fail to load and doom 2's industrial zones used to be crash prone early on.
So the limit is somewhere around there?
I think the crash screen tells you the memory...