Hi there. I have been using smack in an experimental application, problem is the memory runs out really quick.
Reading a post on this forum, i decided to modify the source code ad add a .cancel() function to the CHAT object. It turns out in fact that it contains a packetCollector which does in fact need to be explicitally removed for it to stop logging (GC will not fix that).
After adding the .cancel() to che chat object the memory loss improoved. that is is not loosing as before but it isnt fixed yet in a continuous loop i loose 1-2m a minute. I invoke regularly the vm .gc but it doesnt work… therefore its not a vm problem.
Analying the memory with eclise i see there are a number of packet collectors instanciated … :-/ how to procede?
When is the announced fix coming out ?
Thanks for all anyway