Memory leak in TL instances
Found request making memory leak: /?SERVICE=journey_planner&dpt=Chauderon&apt=Perrelet&departure_class_filter=stop&arrival_class_filter=stop&srid=4326&mad=400,1500&msn=1&allow_full_road_approach=0
How to test
1. Launch a few requests for build caches
siege -r3 'http://localhost:8080/?SERVICE=journey_planner&dpt=Chauderon&apt=Perrelet&departure_class_filter=stop&arrival_class_filter=stop&srid=4326&mad=400,1500&msn=1&allow_full_road_approach=0'
2. See memory usage of synthese
3. Make real siege for several minutes (with exactly same url !)
siege 'http://localhost:8080/?SERVICE=journey_planner&dpt=Chauderon&apt=Perrelet&departure_class_filter=stop&arrival_class_filter=stop&srid=4326&mad=400,1500&msn=1&allow_full_road_approach=0'
4. Wait a few seconds the auto cleanup is done
5. See is memory is back at same level that at the beginnine (after cache building)
Edited by Gabriel Schlozer