Endogenous versus exogenous shocks in systems with memory