That’s assuming the image is displayed. It is easier to keep portions of the image on disk with certain formats (eg tiled).
> On May 11, 2020, at 2:40 PM, Robert Engels <reng...@ix.netcom.com> wrote: > > That means there is a memory leak. Once an image is decoded it takes the > same amount of memory based on resolution and bit depth. > >> On May 11, 2020, at 11:59 AM, Vivi <createmap4...@gmail.com> wrote: >> >> It will make sense when you change PNG to JPG and loop 100x to see the >> actual memory consumption with grtme -v ... >> >> -- >> You received this message because you are subscribed to the Google Groups >> "golang-nuts" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to golang-nuts+unsubscr...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/golang-nuts/75693ebf-5476-4807-a54d-4a2ed4fca411%40googlegroups.com. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/2BC62DFB-33BD-4E31-A258-F52759433204%40ix.netcom.com.