Sooner or later every blockchain software hits a point where the size of the DB becomes an issue to look into.
We are addressing it with implementation soon to be merged to master.
A paper detailing garbage collection of state keeping accounts in AE node can be find here
Hope you find it interesting and please share any feedback.