An image processing apparatus includes: an input section which inputs
image data; a memory section which memorizes non-volatily various data
including image data inputted by the input section; a cache memory; a
control section which carries out an asynchronous operation which writes
data to the cache memory in stead of writing to the memory section as
well as carries out a sync processing which transfers and stores the data
of the cache memory to the memory section based on a predetermined
condition; and a detecting section which detects a preparation for
carrying out a shut down operation of a power of the image processing
apparatus, wherein the control section carries out the sync processing in
case when the preparation operation is detected by the detecting section.