Skip to content

File uploads are buffered in memory #57

@abyrd

Description

@abyrd

We are seeing slowdowns that may be caused by insufficient heap space. Investigating this, we find that there is a bug/feature in Spark web framework that causes all uploads to be buffered in memory. It has been fixed in the development version of Spark, but not yet released.
perwendel/spark#891

Whether or not this is the cause of our slowdowns, it should be addressed. We don't want to be needlessly buffering 10 copies of the Netherlands feed in memory at any given time.

One option is to await the next release of Spark. Another is to not use Spark, assuming all the functionality we need is in the underlying Jetty library.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions