Log view window hangs when showing all the ouput
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Back In Time |
New
|
Undecided
|
Unassigned |
Bug Description
I've just created a full snapshot, then clicked the “View snapshot log” button in KDE GUI. Then I selected “All” in the drop-down list, and the application got frozen for several minutes, eating the whole core of my CPU and a lot of memory.
% ls /.../..
total 11M
dr-xr-xr-x 4 1000 1000 4.0K Mar 1 06:19 backup
-r--r--r-- 1 1000 1000 3.3K Mar 1 08:35 config
-r--r--r-- 1 1000 1000 0 Mar 1 08:35 failed
-r--r--r-- 1 1000 1000 5.5M Mar 1 08:38 fileinfo.bz2
-r--r--r-- 1 1000 1000 143 Mar 1 08:38 info
-r--r--r-- 1 1000 1000 5.4M Mar 1 08:38 takesnapshot.
Snapshot log is just 6 MB compressed and can be perfectly viewed without any lags using bzless.
Back In Time version: 1.0.36
Distribution: Fedora Linux 20
"just 6 MB" is HUGE!!! This could be easily couple hundred MB's uncompressed. bzless only reads the visible part of the file. That's why it is very fast. If you uncompress the file and show it e.g. with gedit it will lag the same.