RssBandit / RssBandit

Browsing web news without a browser
https://www.rssbandit.org
Other
99 stars 24 forks source link

CPU usage 100% #684

Closed clairernovotny closed 7 years ago

clairernovotny commented 18 years ago

Hi

When RSS Bandit 1.3.0.42 is downloading images it consumes 100% (or most of it) and as I have like 100- 200 feeds (+6000 items), it take like 3-6 minutes to process and during that time my machine is unusable (more or less).

After that its fine again.

Have a Athlon64 machine, 1 GIG of ram, so there is nothing wrong with my machine.

You need to add some "Application.Doevents or thread.sleep to make it more desktop friendly.

Reported by: *anonymous

Original Ticket: "rssbandit/bugs/682":https://sourceforge.net/p/rssbandit/bugs/682

clairernovotny commented 18 years ago

Logged In: YES user_id=714452

what do you mean by "downloading images"? We load only feeds (xml files) using HTTP requests, feed images are loaded on demand while displaying feed items in the detail view pane.

If I do a refresh all on my DELL/Intel mobile machine, the CPU is around 10 ...70% for my ~170 feeds/~30000 local items...

Did you got any feed errors? Maybe there is one or more feeds with request issues running against a timeout or other...

Please report more context informations, like OS and version, SP's, other running big software...

Original comment by: netsrotr

clairernovotny commented 18 years ago

Logged In: NO

I have reproted this error before, but I tell this again that because I saw it again this morning. (got the latest version)

It occured today after a while after the initial startup of the package.

In the lower right coner of the window it says

"4700 items remainin) Downloading picture http:/www.xxxxxx.com/image.test"

(faked the URL).

and the CPU on my Dual core AMD is quite high and the app is not responding very well.

Got about 500 feeds there?

Are you like when the app is ideling for a while start "pre- loading" the images or other things that may be included inside the feeds?

Think this prefetch operation is causing trouble here....

Original comment by: nobody

clairernovotny commented 18 years ago

Logged In: NO

I have reproted this error before, but I tell this again that because I saw it again this morning. (got the latest version)

It occured today after a while after the initial startup of the package.

In the lower right coner of the window it says

"4700 items remainin) Downloading picture http:/www.xxxxxx.com/image.test"

(faked the URL).

and the CPU on my Dual core AMD is quite high and the app is not responding very well.

Got about 500 feeds there?

Are you like when the app is ideling for a while start "pre- loading" the images or other things that may be included inside the feeds?

Think this prefetch operation is causing trouble here....

Original comment by: nobody

clairernovotny commented 17 years ago

Logged In: NO

Hi

The status bar, in the lower left corner of Rss Bandit (where it normally says "Done" shows "4700 items remaining) Downloading picture.."

And this occurs after a while, after all the feeds are initially refreshed, I do not get any other errors.

Looks like it is "downloading every possible story with images". during this time the CPU is high for a quit a while.

Original comment by: nobody

clairernovotny commented 17 years ago

Logged In: YES user_id=24549 Originator: NO

If you are looking at a newspaper view with a large number of unread items then Internet Explorer takes a long time rendering the view and will download every image linked from the page generated from all those unread items.

This behavior is by design. In a future version, we may consider limiting the number of feeds that can show up in the newspaper view to prevent such lag.

Original comment by: Carnage4Life