View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0014737 | MMW 5 | Sync | public | 2018-04-13 08:49 | 2020-11-09 10:01 |
Reporter | Ludek | Assigned To | |||
Priority | immediate | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 5.0 | ||||
Target Version | 5.0 | Fixed in Version | 5.0 | ||
Summary | 0014737: Memory utilization grows during sync (regression) | ||||
Description | When uploading files from MM5 to MMS then memory utilization grows constantly. | ||||
Tags | No tags attached. | ||||
Fixed in build | 2097 | ||||
|
Tech note for devs: It is because of CEF's garbage collector, the IFileBuffer is shared object and it is garbaged after 30 seconds. i.e. memory can grow during uploading, but once uploading finishes then after 30 seconds it is garbaged and memory goes to normal. Calling CefCollectGarbage manually before allocating the buffer no longer works to force the garbaging. Partial workaround is to adjust IFileBuffer so that it reads the data buffer from the source file path on demand (and frees immediately). |
|
Adjusted in 2097, but for the full memory flush it is still needed to wait 30 seconds for the garbage collector to collect. |
|
Verified 2273 Memory utilization goes back to normal once copy is done. |