Open abyrd opened 9 years ago
Spark's spark.webserver.JettyHandler copies the entire input with IOUtils.toByteArray(super.getInputStream());
IOUtils.toByteArray(super.getInputStream());
This doesn't work so well when uploading a 1GB+ PBF and GTFS bundle. The byte buffer expands when it gets full, exhausting all my heap.
Spark's spark.webserver.JettyHandler copies the entire input with
IOUtils.toByteArray(super.getInputStream());
This doesn't work so well when uploading a 1GB+ PBF and GTFS bundle. The byte buffer expands when it gets full, exhausting all my heap.