A method of managing a storage system, the method comprising: detecting an amelioration trigger for reducing declared capacity of non-volatile memory of a storage device of the storage system, the amelioration trigger corresponding to a predefined wear condition of the non-volatile memory of the storage device, wherein declared capacity is storage capacity available to a host; and in accordance with the detected amelioration trigger, performing an amelioration process to reduce declared capacity of the non-volatile memory of the storage device, the performing including: altering an encoding format of at least a portion of the non-volatile memory of the storage device; and reducing declared capacity of the non-volatile memory of the storage device; characterised in that: prior to detecting the amelioration trigger, detecting a first wear condition of the non-volatile memory of the storage device, wherein a total storage capacity of the non-volatile memory of the storage device includes declared capacity and over-provisioning; and in response to detecting the first wear condition, performing a remedial action that reduces over-provisioning of the non-volatile memory of the storage device without reducing declared capacity of the non-volatile memory of the storage device. detecting an amelioration trigger for reducing declared capacity of non-volatile memory of a storage device of the storage system, the amelioration trigger corresponding to a predefined wear condition of the non-volatile memory of the storage device, wherein declared capacity is storage capacity available to a host; and in accordance with the detected amelioration trigger, performing an amelioration process to reduce declared capacity of the non-volatile memory of the storage device, the performing including: altering an encoding format of at least a portion of the non-volatile memory of the storage device; and reducing declared capacity of the non-volatile memory of the storage device; altering an encoding format of at least a portion of the non-volatile memory of the storage device; and reducing declared capacity of the non-volatile memory of the storage device; characterised in that: prior to detecting the amelioration trigger, detecting a first wear condition of the non-volatile memory of the storage device, wherein a total storage capacity of the non-volatile memory of the storage device includes declared capacity and over-provisioning; and in response to detecting the first wear condition, performing a remedial action that reduces over-provisioning of the non-volatile memory of the storage device without reducing declared capacity of the non-volatile memory of the storage device. prior to detecting the amelioration trigger, detecting a first wear condition of the non-volatile memory of the storage device, wherein a total storage capacity of the non-volatile memory of the storage device includes declared capacity and over-provisioning; and in response to detecting the first wear condition, performing a remedial action that reduces over-provisioning of the non-volatile memory of the storage device without reducing declared capacity of the non-volatile memory of the storage device.