Download as... restrictions
Posted: Thu Mar 19, 2015 1:43 pm
Hello,
I've got an interesting use case. From the webclient, the "Download as [format]" option will zip all files together when multiple images are selected. This will give a delay in the UI while the file is generated. One of our users was unaware of this, and repeatedly restarted the request (70 PNG images, started over 10 to 15 times in the space of a minute, re-rendered to PNG).
Obviously, issues arise from this. Eventually the 8GB of HEAP memory of the JVM wil run out.
I've a few questions about this:
- All the http requests that were started will eventually time out, or throw a 505 error. What's worrying however, is that the HEAP memory is not released even several hours later. New completely unrelated tasks will also run OOM. This seems like a bug to me. Do you want the Blitz log of this?
- I've seen several PR on Github related to file Download restrictions. Will any of these help with this in 5.1?
- Is it intended that a PNG image is re-rendered to PNG when "Download as PNG" is selected?
Thanks,
Paul
I've got an interesting use case. From the webclient, the "Download as [format]" option will zip all files together when multiple images are selected. This will give a delay in the UI while the file is generated. One of our users was unaware of this, and repeatedly restarted the request (70 PNG images, started over 10 to 15 times in the space of a minute, re-rendered to PNG).
Obviously, issues arise from this. Eventually the 8GB of HEAP memory of the JVM wil run out.
- Code: Select all
2015-03-19 13:47:57,279 ERROR [ ome.services.util.ServiceHandler] (Server-395) java.lang.Error: Wrapped Exception: (java.lang.OutOfMemoryError):
Java heap space
java.lang.OutOfMemoryError: Java heap space
at omeis.providers.re.RGBIntBuffer.<init>(RGBIntBuffer.java:69) ~[common.jar:na]
I've a few questions about this:
- All the http requests that were started will eventually time out, or throw a 505 error. What's worrying however, is that the HEAP memory is not released even several hours later. New completely unrelated tasks will also run OOM. This seems like a bug to me. Do you want the Blitz log of this?
- I've seen several PR on Github related to file Download restrictions. Will any of these help with this in 5.1?
- Is it intended that a PNG image is re-rendered to PNG when "Download as PNG" is selected?
Thanks,
Paul