-
Notifications
You must be signed in to change notification settings - Fork 56
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
Memory not clearing, or garbage not being collected? #125
Comments
What version are you using? Release 1.1.3 last month should have fixed a handler leak. It's possible you're using an older version of the package. |
looks like im on v1.1.2 |
updated, and still the same :( |
No, can you provide the code to reproduce this issue? |
Will get you some sample code that's being looped.. So it could be something to do with their code ?.. |
here is the code that is looped ..
i know you probably wanted some smaller lump of code that you could run in your own environment... |
im using this bridge within a loop,
i added a require link, so i can call a JS function from within a loop.
but it seems i cannot get the memory it uses on each loop to clear for the next loop,
i have
= None
all the variables used (anddel
them too),i have used gc.collect() at the end of loop,
and i have isolated it just to this java scripted area
(for eg, the data is normally sent to DataBase, but have tested just deleted all data and not sending it, just to rule out circular links)
Every loop its taking roughly 1MB of Ram, so limits me on how much i can process...
if i create a chunk processing loop, to feed this loop that process via the JavaScript, it still hangs on to the ram and wont clear.
are there any tips, or commands i could issue to help clear it after its used ?
could using @ AsyncTask decorators help ?
The text was updated successfully, but these errors were encountered: