[go-nuts] super large virtual memory allocation for simplest golang apps, why?

2021-01-13 Thread laos...@gmail.com
a helloworld net/http will ask for 1GB VSS, I understand VSS is not the same as RSS, also did my googling and know golang malloc.go allocates 512GB heap for 64bit system and such. other GC(garbage collection) languages do not preallocate huge size of VSS and they worked well. large size VSS do

[go-nuts] Re: super large virtual memory allocation for simplest golang apps, why?

2021-01-14 Thread laos...@gmail.com
yes I'm aware of that but still, why the super large size VSS in Golang? It does have side effects some are pretty bad. On Thursday, January 14, 2021 at 12:20:43 AM UTC-6 Amnon wrote: > Have you tried https://tinygo.org/ ? > > On Thursday, 14 January 2021 at 06:02:35 UTC laos...@g