Enumerator.fromFile uses Enumerator.fromCallback that includes method step(it: Iteratee[E, A]) (in method apply). Method "step" is recursive but isn't tail-recursive so large file can throw OutOfMemory exception, can't it?
I'd like to implement enumerator that can wait for data in some file (e.g. log file). It will periodically check file and sends Input.Empty in Iteratee if new data isn't available. But if I make a similar implementation of enumerator it won't work in a limited amount of memory. Is there the better decision?