The specs do not mention minimum reqs for DOS, but given it requires 4MB on Amiga might indicate 1MB is not enough
Ancient Domains of Mystery attributes, tech specs, ratings
www.mobygames.com
The error does not clearly mention RAM though, it seems to have tried to swap some data to disk, and probably does something wrong while trying it, unloading command.com maybe? We'll need a more knowledgable folks to chime in.
Check if notes about DOS quirks on MobyGames help you in any way (it says its from game readme file).
Do you have any memory managers running? In my understanding to access more tham 640Kb dos does need some.