You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I have large amount of cue file which should be paesed and decoded to struct when program starting.
I found allocated memory does not decrease after my instance set to nil, and many objects still used by core/runtime.sharedIndex
In my case, I do not need cue to hold config information after program loaded.
I hope memory freed after instance destroyed.
Describe the solution you'd like
Add option to core/runtime.New or core/runtime.Init, to let runtime use a clone of sharedIndex. e.g.
This was always supposed to be this way, but dropped off
the radar as a thing to do.
Fixes#1424Fixes#1418
Issue #1414
Signed-off-by: Marcel van Lohuizen <[email protected]>
Change-Id: I25b486d2ea1c6009b00732a113af29bd485f9df5
Is your feature request related to a problem? Please describe.
I have large amount of cue file which should be paesed and decoded to struct when program starting.
I found allocated memory does not decrease after my instance set to nil, and many objects still used by core/runtime.sharedIndex
In my case, I do not need cue to hold config information after program loaded.
I hope memory freed after instance destroyed.
Describe the solution you'd like
Add option to core/runtime.New or core/runtime.Init, to let runtime use a clone of sharedIndex. e.g.
Describe alternatives you've considered
Maybe we have some way for user to clear sharedIndex ?
Additional context
The text was updated successfully, but these errors were encountered: