Lipstick eating lot of ram while downloading big files via stock browser
Recently I tried to download big archive ( it was packed rom for ppsspp test ) which weighed about 400MB via sailfish browser. After a while jolla became unresponsive. I checked the actual memory use SailTime and found out that both ram and swap were almost filled ( about 98% each). Then fired up Lighthouse and the source of the problem turned out to be lipstick taking about 40-50% of ram and probably most of the swap. The problem is that after started download phone almost immediately slows down and even closing all of apps doesn't help. Stopping the download doesn't help too and lipstick constantly eats ram until I restart the whole service via patchmanager. Issue seems to be not related to size of the file because even 90MB archive of gapps made my jolla struggle for resources. I remember that before last update I hadn't such issues and downloading few archives of pictures from onedrive each about 160MB of size didn't even make my jolla ”sweat„. Yesterday I resetted jolla and again updated to Saapunki 1.0.7.16 but the problem remains even after reboot until I remove/stop the transfer in settings. Does anybody have such issues ?
edit 23-7-2014: Latest 1.0.8.19 Tahkalampi update didn't change anything. Still, any download via sailfish browser causes memory leak in lipstick. Downloading 32MB archive from dropbox made lipstick grow in ram from 13% to 25%.
Also worth mentioning that the same issue occurs while downloading via webcat browser. Transfer isn't showed in settings but lipstick acts the same way.
Mądry ( 2014-06-29 00:18:26 +0200 )editDoes the same happen in Android firefox?
rainisto ( 2014-06-29 10:27:12 +0200 )editNo. Android firefox seems to not cause any memory leak in lipstick or even in its own process. It seems to be related only to qt based software and not even the browser (which can be closed but downloading doesn't stop) but the transfer part of the settings app which handle the downloads.
Mądry ( 2014-06-29 12:13:49 +0200 )editwhat was the file extension of downloaded file? .zip, .rar, apk or .rom or something else?
rainisto ( 2014-06-30 09:19:38 +0200 )editI were downloading only zip archives: zipped photos of notes(160MB), gapps(90MB) and zipped rom(450MB). In all cases lipstick was going crazy, eating ram in pair with downloaded data. Once i thought the problem was in the priority to write stuff to flash memory but the size of downloading file grows while data is downloading. I must mention that I don't use any microsd card and till now I used only 5 gigs of jolla's internal memory.
Mądry ( 2014-06-30 10:52:07 +0200 )edit