# Restart if we've hit our memory limit
if resident_size > 512
- run_gc!
-
- if resident_size > 512
- dispatcher_log :info, "restarting due to memory limit"
- restart!
- end
+ dispatcher_log :info, "restarting due to memory limit"
+ restart!
end
end
end
end
-OpenStreetMapFCGIHandler.process! nil, 10
+OpenStreetMapFCGIHandler.process!