Broken vram - linux - exclude vram

So I have a gtx titan x which has some broken vram, It acts up once every 2 weeks where I have to restart it or let it crash over and over. I was wondering if I could exclude the broken vram from being used in linux (maybe even in windows). And if that’s possible how would I do it and how would I test which part of the vram is broken.

Thanks in advance.

Unfortunately, only Teslas and maybe some Quadros with ECC ram have that feature.
You can use cuda-memtest to check to which excess the vram is damaged. Or if it’s the vram at all.