I investigated this now furhter and it seems that always when I go out of a game into the task manager and than back, the Ram consumed by the game increases. always!
The amount is dependent on the number and size of images currently on the screen.
This even works with the hello world example.
It starts with about 13 mb ram and after some changes between task manager and hello world programm, the ram is on my phone at about 30 mb …
its going up and down, rises sometimes more and sometimes less, but it keeps rising in the big picture…
For my game that made an increase of about 20 mb everytime I switched between game and taskmanager.
I tried this with other games (not made with corona, I think) and this did not happen, ie. the consumed ram does not increase constantly.
I also tried it with “Crosstown Smash (free)” and there (in the select world menu) the ram rises constantly too. (always just about 3 mb, but everytime) …
I will stop now with this and hope that my other fixes reduce the lag in higher levels enough to this becomes not a problem…
edit: after some time the Ram reduces back to the initial value, at least at the hello world example. (More then 20 minutes)