The Machine - James Smythe.
Unusual book. It's been compared to Shelley's Frankenstein, but I wouldn't know since I haven't read that. The horror element however is done pretty well. The story is set in a future Britain where climate change has long since altered where people can live. This makes the days very hot and adds a kind of permanent temporariness to housing. (That's a neat trick by the author, it means he can move everyone into, basically, council flats.) There have been conventional wars too. And outlawed innovation in health products. The Machines in particular were made illegal. They were built to excise memory. And they did, but too well. Some early patients ended up bereft even of the ability to remember to breathe. The Machines were used on traumatized returned soldiers, and on Alzheimer's patients, and others. The story starts some ten years later when one wife, a high school teacher, acquires an early model Machine, one that with the aid of custom firmware built online by activist hackers, can replace memory. Her husband, a former soldier and now a Vacant, was one of the early candidates for the original treatment.