I had previously thought that too many writes to my SD cards had caused their ultimate failure, and I was trying to minimize these writes by disabling the swap file.Jojopi and RaTTuS both responded to my earlier queries (19-20th Aug) under the topic ‘No Swap Space?’, following which I used Task Manager to monitor memory usage.
In fact without the swap file, failure occurred earlier than before, with chromium-browser reporting ‘Either Chrome ran out of memory or the process was terminated for some other reason’. The SD card finally gave up the ghost after another re-boot.
On using my 3rd SD card, I finally found Task Manager, and have been monitoring memory use ever since, this time without disabling the swap file.
What I have found is that in either chromium or midori, when continuously looping between two local pages of .html, memory use builds up inexorably at the rate of approximately 1MB / hr. This time I have not allowed it to reach critical values near the installed limit, fearing the loss of another card.
It appears that objects created upon opening subsequent .html pages may not be disposed of gracefully at the next switch. I have tried both jquery’s ‘delayer’ function and HTML’s META REFRESH, to cycle between pages (each calling the other after a timeOut), and have used both chromium and midori as browsers. The result is the same every time.
Now that I am using Raspbian Wheezy, it may be that the swap file will kick in before the ‘kernel panic’ that I have previously observed, and save the day, before all activity is lost forever (cards won’t then reimage after a reformat). Nevertheless, surely the memory use should not be building up as described? HTML code is available to demo the problem.
If no solution can be offered, could this topic be escalated up to an OS bug report?