javaee / metro-jax-ws

https://javaee.github.io/metro-jax-ws/
Other
132 stars 68 forks source link

Server reads entire file into memory #1206

Open TannerS opened 6 years ago

TannerS commented 6 years ago

Trying to use jax with MTOM. And when trying to send a file over. One around 500mb. I get heap outofmemory error. I noticed server has to pass in the file (my case a datahandler) into the implementation method which means its reading in the entire file into ram. Is there anything that can be done about this?