If this is the case, could you set your dev fee to mine something else with a smaller dag fee so the miner doesn't crash? Or can you change any parameters on the dev fee mining so it does not consumes so much memory?
How about RTFM?
-coin Ethash coin to use for devfee to avoid switching DAGs:
auto: Try to determine from the pool address (default)
eth: Ethereum
etc: Ethereum Classic
exp: Expanse
music: Musicoin
ubq: UBIQ
pirl: Pirl
ella: Ellaism
etp: Metaverse ETP
pgc: Pegascoin
akroma: Akroma
whale: WhaleCoin
vic: Victorium