Fractional Cauchy problem with memory effects