Bug 395328 - version 2.13.0
Summary: version 2.13.0
Status: RESOLVED FIXED
Alias: None
Product: skrooge
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: 25.1.0
Assignee: Stephane MANKOWSKI
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-13 17:36 UTC by Alain Carcel
Modified: 2018-06-16 11:13 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
htop scree shot (338.13 KB, image/png)
2018-06-13 17:36 UTC, Alain Carcel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alain Carcel 2018-06-13 17:36:32 UTC
Created attachment 113254 [details]
htop scree shot

hi,

Impossible to open account bank, then processor full load (100% one core/four) and turn all time (infinity). Force halt process skrooge.

Regards
Comment 1 Stephane MANKOWSKI 2018-06-13 18:02:30 UTC
Could you try this from a console?
export SKGTRACE=10
export SKGTRACEPERFO=1
skrooge > t.txt
Wait 30s
Ctrl + C
Send me t.txt by mail (stephane at mankowski dot fr)
Comment 2 Stephane MANKOWSKI 2018-06-15 16:36:18 UTC
Hi,

With you trace file, I am able to understand the reason of this loop.
In fact, this is not really a cpu loop, this is a very very very long computation.
Indeed, when you open the "Account" page, Skrooge tries to check your last reconciliation.
In your case, Skrooge has too check with all operation since 2013, so many operations.
You should be able to bypass this issue by changing the status of old operation to "reconciliated".

On my side, I will try to fix this.
Comment 3 Stephane MANKOWSKI 2018-06-16 11:13:01 UTC
Git commit 3ebc4d2e7107e869e5f73b9ec37cc14ee62c94ac by Stephane MANKOWSKI.
Committed on 16/06/2018 at 11:12.
Pushed by smankowski into branch 'master'.

Bad perfo in SKGAccountObject::getPossibleReconciliations when too many operations

M  +12   -0    skgbankmodeler/skgaccountobject.cpp

https://commits.kde.org/skrooge/3ebc4d2e7107e869e5f73b9ec37cc14ee62c94ac