I'm not able to download any attachment which is larger than 1GB, I'm getting the following error
<apiError>
<code>runtime_exception</code>
<description>Handler dispatch failed; nested exception is java.lang.OutOfMemoryError: Required array size too large</description>
<message>NestedServletException</message>
</apiError>
Our catalogue should allow downloads for large files (up to 10GB). Is there a possible way to download large attachments. I'm running GeoNetwork with Jetty server, also the same happened when using Tomcat.