Is it possible to exclude bad memory?
Solution 1:
Your only option is to replace the offending hardware. Unfortunatley, if you were able to hack a solution together, it would be removed after subsequent updates. With El Capitan and later, SIP would prevent you from doing this.
You have two options:
- Replace the logic board - very expensive ($700 to $1000 USD)
- Replace the RAM modules - less expensive ($300 to $500 USD)
There are shops that will do this type of repair like Rossman Group in NYC. (Disclaimer: I am not affiliated with this company in any way, I am just a satisfied client). They can do board level repairs like this for half of what it would cost to replace the logic board.
That said, you may be able to find a functional (used) logic board on eBay as well.