GPU1: Free VRAM: 7.948 GB; used: 0.052 GB
GPU1: Disabling DAG pre-allocation (not enough VRAM)
GPU1: Allocating DAG for epoch #382 (3.98) GB
GPU1: Generating DAG for epoch #382
error=Disabling DAG pre-allocation (not enough VRAM)
in 7xRx-580 8Gb
You can try adding -eres 0 -rvram -1