{"comment":{"url":"https://api.github.com/repos/Euphoria-OS-Devices/android_kernel_lge_msm8974/comments/14303609","html_url":"https://github.com/Euphoria-OS-Devices/android_kernel_lge_msm8974/commit/42f92271c1178c853203574abcf62d2aef6fbbd6#commitcomment-14303609","id":14303609,"user":{"login":"dorimanx","id":1135626,"avatar_url":"https://avatars.githubusercontent.com/u/1135626?v=3","gravatar_id":"","url":"https://api.github.com/users/dorimanx","html_url":"https://github.com/dorimanx","followers_url":"https://api.github.com/users/dorimanx/followers","following_url":"https://api.github.com/users/dorimanx/following{/other_user}","gists_url":"https://api.github.com/users/dorimanx/gists{/gist_id}","starred_url":"https://api.github.com/users/dorimanx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dorimanx/subscriptions","organizations_url":"https://api.github.com/users/dorimanx/orgs","repos_url":"https://api.github.com/users/dorimanx/repos","events_url":"https://api.github.com/users/dorimanx/events{/privacy}","received_events_url":"https://api.github.com/users/dorimanx/received_events","type":"User","site_admin":false},"position":null,"line":null,"path":"","commit_id":"42f92271c1178c853203574abcf62d2aef6fbbd6","created_at":"2015-11-10T14:34:08Z","updated_at":"2015-11-10T14:34:08Z","body":"idea i good.\r\nbut if we dont do fs sync, the buffers stored in RAM, and inflate RAM with buffers.\r\nNow in case we dont have much ram to spare, LMK start to panic! and kill apps to gain RAM.\r\nand user play some game that drain the RAM like PIG. what then?\r\nProbably crash.\r\nwhen? ORIGINAL sync is done? with delay? or some threshold?\r\nneed to add some function that check buffers, and if buffer getting above 20MB then order sync. no matter what.\r\nif not, wait till screen off, and 10sec passed."}}