https://kotlinlang.org logo
#kontributors
Title
# kontributors
b

bsideup

08/28/2017, 4:14 PM
Hi! I see a lot of Protobuf objects after I compile a script (by calling the compiler). The biggest ones are of instances of
Protobuf.Type
. How to destroy them?
k

karelpeeters

08/28/2017, 4:18 PM
I assume they get gc'd eventually?
b

bsideup

08/28/2017, 4:18 PM
No, that's the problem
I have a major memory leak because of that
I call
disposable.dispose()
after I'm done with the result, but it doesn't destroy them
2 Views