10000 Tags · darkwisebear/gosnmp · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Tags: darkwisebear/gosnmp

Tags

v1.9-memory

Toggle v1.9-memory's commit message
Optimize memory usage.

If aggregating results from thousands of GetNext() calls in memory, the
runtime seems unable to release some of the memory allocated by send() (or
dispatch() now).

The situation can be improved by copying the r
8000
esliced response slice in
dispatch(), rather than having the runtime keep a reference to a larger
(and partially usefull) buffer array.

This is the bug I was trying to squash in b84d786.

The logic of adjusting the buffer size dynamically seems to be still
valid though.

With this change, the actual buffer size allocated to handle the
response is no longer a problem so I changed the rxBufSizeMin and
rxBufSizeMax to more aggressive/generous defaults (and min buffer size
is proportional to request size).

This will probably make buffer resizing an exceptional event.

v1.8-empty

Toggle v1.8-empty's commit message
Issue 35: handle empty responses

v1.7-set16

Toggle v1.7-set16's commit message
add mrspock to authors

v1.6-travis

Toggle v1.6-travis's commit message
.travis.yaml

v1.5-lint

Toggle v1.5-lint's commit message
Add an AUTHORS.md, update license.

ResolveSuggested License Text Change gosnmp#8.

v1.4-e2e

Toggle v1.4-e2e's commit message
Ensure generic e2e test works on Widnows too

v1.3-walk

Toggle v1.3-walk's commit message
Walk code, by Chris Dance (codedance).

v1.2-nextbulk

Toggle v1.2-nextbulk's commit message
update readme for GetNext GetBulk

v1.1-send

Toggle v1.1-send's commit message
readme - Send() beta

v1.0

Toggle v1.0's commit message
update license

0