The camera is less than 4 weeks old so I don't want to do anything that might risk the warranty (such as downgrading the firmware). I have emailed HikVision about the problem and I'm still waiting for a reply.
In the meantime, every time it crashes I have to climb into the loft, navigate through the plumbing and power cycle the camera.