i would like to load and unload a lot of golang plugins very frequently and would like old plugins memory to be cleared. how can i do so? possible to make this a feature?
How frequently are you expecting to load and unload these s9 plugins (e.g., multiple times per second, per minute, etc.)?
i think each plugin load and unload will create around 10k heap object extra. maybe 4 times a week? could be a lot more loading and unloading weekly.
to fine tune gc on legacy code is just too much work