An initialization method of initializing a consumable memory included in a consumable attached to a main casing of an image forming apparatus, the initialization method comprising:
- a reception step in which the image forming apparatus receives an instruction to initialize consumable memory information stored in the consumable memory;
- a determination step in which the image forming apparatus determines at least whether a cover is in an open state in accordance with the received instruction, the main casing having an opening through which the consumable is attachable, the cover being configured to open and close the opening;
- when the image forming apparatus determines at least that the cover is in the open state, an initialization step in which the image forming apparatus initializes the consumable memory information;
- and
- a reading step in which the image forming apparatus reads the consumable memory information from the consumable memory while the cover is in a closed state.