Hello,
I’m cross compiling a Golang executable from ubuntu to an ARM based embedded system.
$ go version
go version go1.18.1 linux/amd64
I use the following environment variables:
GOOS=linux
GOARCH=arm
The cross compilation works, and the system runs on the target. However, it consumes enormous amounts of memory, 780m.
Golang reports the heap memory is around 2 megabytes, and objdump shows nothing unusual to my eye (though this is not an area of my expertise).
Any thoughts on how to determine what is using the memory much appreciated.
Thanks!