Closed
Bug 1043823
Opened 10 years ago
Closed 10 years ago
[Flame][Camera]Video recording will keep consuming free memory and growing cache
Categories
(Firefox OS Graveyard :: Gaia::Camera, defect)
Tracking
(b2g-v1.3 unaffected, b2g-v1.4 affected, b2g-v2.0 affected, b2g-v2.1 affected)
RESOLVED
INVALID
Tracking | Status | |
---|---|---|
b2g-v1.3 | --- | unaffected |
b2g-v1.4 | --- | affected |
b2g-v2.0 | --- | affected |
b2g-v2.1 | --- | affected |
People
(Reporter: mlien, Unassigned)
References
Details
[Device] Flame --------------------------------------------- [Reproduction build] - v122 base image + pvt gaia/gecko Gaia c72257b2d27135bfcd68e89dd584182797784016 Gecko https://hg.mozilla.org/mozilla-central/rev/616e6924cb0b BuildID 20140724160202 Version 34.0a1 ro.build.version.incremental=109 ro.build.date=Mon Jun 16 16:51:29 CST 2014 --------------------------------------------- [Reproduce Steps] 0. Turn on adb 1. Enter command "while true; do adb shell b2g-info; sleep 1; done" on terminal to monitor memory 2. Launch Camera app 3. Switch to video recording mode 4. Start to record video 5. Verify memory change --------------------------------------------- [Expected Result] Memory should be used in a reasonable range --------------------------------------------- [Actual Result] Video Recording will keep consuming free memory and growing cache Only use Flame base image v1.3 is fine Both Flame v1.4 and v2.0 have the same problem --------------------------------------------- [Reproduce Rate] 100%
Updated•10 years ago
|
Updated•10 years ago
|
Comment 1•10 years ago
|
||
[Blocking Requested - why for this release]: prioritization of investigation.
blocking-b2g: --- → 2.1?
Comment 2•10 years ago
|
||
This sounds like expected behavior to me. When writing a file to disk, the kernel writes the file contents to cache, and the writes it to disk. The file stays around in the cache in case you want to read it. If needed, the cache pages will be kicked out.
Comment 3•10 years ago
|
||
De-noming as this sounds like expected behaviour. Mike: when carrying out the STR, does the device exhibit any weird or non-performant behaviour? If not, I think we can close this.
blocking-b2g: 2.1? → ---
Flags: needinfo?(mlien)
Reporter | ||
Comment 4•10 years ago
|
||
Re-test with Flame 1GB on v123+v2.0 gaia/gecko Video recording will consume memory until memory less than 15~20 MB But no any weird or non-performant behaviour. Gaia a36a504f35bd9d1c20726624abe6433ce5dbfb54 Gecko https://hg.mozilla.org/releases/mozilla-b2g32_v2_0/rev/4f9ee0d8dee8 BuildID 20140820160203 Version 32.0
Flags: needinfo?(mlien)
Comment 5•10 years ago
|
||
Sounds like this is the cache expanding to fill available memory. It is normal and expected. If we observe any weird or sluggish behaviour, we should open a new bug.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•