well, not you can write more info and what exactly does the message say but try opening dosbox.conf and find lines "xms", "ems", and "umb" and make sure that the value is true.
also, find "memsize" and try raising its value.
as for the windows, when you click properties of the excutable and in memory tab set everything to maximum
__________________
|