Bug 349192 - Choqok consumes ~ 90% CPU when file backup is big enough
Summary: Choqok consumes ~ 90% CPU when file backup is big enough
Status: RESOLVED DUPLICATE of bug 326192
Alias: None
Product: choqok
Classification: Applications
Component: general (show other bugs)
Version: 1.5
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Mehrdad Momeny
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-15 14:54 UTC by grafvonbecker@gmail.com
Modified: 2015-08-04 09:03 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description grafvonbecker@gmail.com 2015-06-15 14:54:50 UTC
When Choqok is launched, if some of the "backup" files in ~/.kde/share/apps/choqok/ is big enough (I think bigger than a few megabytes) the process eats approximately 90% of CPU time.
If I delete those files, Choqok starts smoothly.

Reproducible: Always

Steps to Reproduce:
1. let choqok store enough messages (normally in home backup)
2. close it and launch it again
3. choqok will now consume a high CPU time, while window isn't showing

Actual Results:  
Choqok isn't showing any window, and consuming a high % of CPU.

Expected Results:  
Choqok opening normally.

I think this bug is related on how Choqok handles old messages. If you are following, for example, more than a few hundreds in Twitter, Home will grow up rapidly. And if the system isn't purging old messages, those will be stored in the "backup" file, making it big given enough time.

Also, the process begins to be sluggish when opened and hundreds of messages are displayed in the home timeline.
Comment 1 Andrea Scarpino 2015-07-30 16:58:46 UTC
I agree, we don't need posts which are not shown in the UI.
Comment 2 Andrea Scarpino 2015-08-04 09:03:29 UTC

*** This bug has been marked as a duplicate of bug 326192 ***