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/028486BD-7630-4AF4-B3F1-6486C6629361%40ix.netcom.com.