-
Couldn't load subscription status.
- Fork 60
Description
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 (and del 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 ?