eclipse-ee4j / metro-jax-ws

metro-jax-ws
https://eclipse-ee4j.github.io/metro-jax-ws/
BSD 3-Clause "New" or "Revised" License
72 stars 40 forks source link

Server reads entire file into memory #584

Open Tomas-Kraus opened 2 years ago

Tomas-Kraus commented 2 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?

Source: https://github.com/javaee/metro-jax-ws/issues/1206 Author: TannerS