While I can say I've manually recycled an app pool or two (or thousand) in my day, I don't know much about how this occurs automatically.
I assume that after a certain time interval the app pool automatically recycles, but I don't know what that time period is or how to change it.