openplans/OpenTripPlanner — pull request #1065 by flibbertigibbet (2013-05-05 22:58:30+00:00)
Title: Flibbertigibbet - avoid "out of memory" errors

By adding a dependency for ehcache and buffering the graph FileInputStream, OpenTripPlanner will cache to disk instead of crashing with OutOfMemory errors. This way, OpenTripPlanner can run on systems that otherwise would not have enough memory.

The input stream buffer prevents Tomcat from crashing while initially loading the graph file.