perseveration

noun

1.
the tendency for a memory or idea to persist or recur without any apparent stimulus for it
Derived from:
persevere
2.
the act of persisting or persevering; continuing or repeating behavior