Hi, 
I was use gomobile with go1.16.3 to build a framework for iOS 
NetworkExtension, but when the extension start, I found the memory it 
occupied is about 13M, and when we run some goroutine in go, the memory 
increase and do not decrease, and finally, the system kill my extension 
with the lmemory imit 15M.
So, I have two questions:
First, if we start the NetworkExtension without our framework, the 
extension process memory occupation is about 2M, so, is there any way to 
decrease memory  occupation when we generate the framework by gomobile?
Second, once we start goroutine, the memory increase all the time,  what 
should I do to release the memory and when?

does anyone can give me some advice or tell me the way to sove these 
problems?
thanks a lot!

-- 
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/3c1c7ce2-a14c-45be-9839-35cdaeffa9e2n%40googlegroups.com.

Reply via email to