Re: [go-nuts] High memory usage of math/big.putNat for web application

2016-10-15 Thread andrey mirtchovski
As you've already determined, the memory is all allocated and kept into 'natPool', which is a sync.Pool. from the documentation: Any item stored in the Pool may be removed automatically at any time without notification. If your pool memory usage grows all the time, this is an indication tha

[go-nuts] High memory usage of math/big.putNat for web application

2016-10-15 Thread Raffaele Di Fazio
Hi, I have a web application that over time uses more and more memory. This is the output of pprof of the heap: go tool pprof -alloc_space lushan-server https: //localhost:8083/debug/pprof/heap Fetching profile from https://localhost:8083/debug/pprof/heap Saved profile in /Users/rdifazio/pprof/