Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TelegramApi class occupies the RAM – (Memory Optimization) #72

Open
kiaksarg opened this issue Dec 13, 2015 · 0 comments
Open

TelegramApi class occupies the RAM – (Memory Optimization) #72

kiaksarg opened this issue Dec 13, 2015 · 0 comments

Comments

@kiaksarg
Copy link

Actually, when I create a new object from TelegramApi previous one does not close while even I call system.gc() and when I create many objects from that it occupies much memory (until more than 1gb depends on number of objects). Is there any way to close and release used memory of previous object when I want create new one? Or use just one object but change the ApiState? (I tried to do that, but it didn't work…)
thanx in advance..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant