On Thu, Jan 31, 2019 at 3:22 PM Daniele Romagnoli < daniele.romagn...@geo-solutions.it> wrote:
> (It has been developed 10 years ago so there might be the case that at > time the immediate read was solving some issues occurred with deferred > loading). > Since you already started playing with code, you may want to do a quick > test by changing the ReadType object to JAI_IMAGEREAD on NetCDFRequest > class. > Just a small note to show why this might be better than the deferred loading approach you already tried. If I understand correctly, what you did is normal lazy loading, once a coverage is loaded, it stays in memory, you're just avoiding up front loading... meaning that during encoding all coverages end up being loaded in memory. ImageIO deferred loading is instead a JAI operation that uses the JAI tile cache, it loads tiles there on a as needed basis, and if there are too many, the cache throws them away and they will be reloaded if needed. So you get good memory control, at the expense of potential more I/O Cheers Andrea == GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it ------------------------------------------------------- *Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia. This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.*
_______________________________________________ Geoserver-devel mailing list Geoserver-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-devel