Memory freeing

Post Reply
boeda
Posts: 4
Joined: Mon Aug 11, 2003 10:03 am

Memory freeing

Post by boeda »

How do I decrease my memory.
When I have Newspro running, all of my memory is almost gone.
I Have 512 Mb
Please help.
Thanks
alex
Posts: 4543
Joined: Thu Feb 27, 2003 5:57 pm

Post by alex »

newspro doesn't consume memory directly; if you minimize it you'll see the memory usage drop to a small value.

to minimize the memory usage you need to introduce retention or last headers in properties->newsgroups (so not to contain all that server has since the power of personal versus server computer is incompatible and client interface is even requiring more memory than server functionality). last headers (e.g. 150000) is preferable to retention (e.g. 1-7 [days]) since it is faster in the first time.

it is good to have at least 512MB.
boeda
Posts: 4
Joined: Mon Aug 11, 2003 10:03 am

Post by boeda »

Thanks I'll try it.
alex
Posts: 4543
Joined: Thu Feb 27, 2003 5:57 pm

Post by alex »

if you set retention(s) or last headers- afterwards invoke get new headers; when the number of headers drops invoke file menu->optimize database accesses - it will shrink the database.

or alternatively if you don't mind to download headers again - just invoke file menu->reset database.
m0davis
Posts: 11
Joined: Sat Sep 13, 2003 3:00 am

Post by m0davis »

Alex, I don't think it's necessary that NewsPro uses all the memory it does. For most operations, the entire database of headers does not need to be kept in memory. If you think about it, the only things that *really* need to be kept in memory are:

1. stuff that's currently displayed on the screen, and

2. Tasks that are currently being run (not just the ones that are pending)

The rest *could* be kept on disk. Of course, if you went to this extreme, NewsPro would become bogged down by too much disk access. However, I think there must be a happy medium which would allow NewsPro to run nicely on a 256MB machine that keeps a large collection of headers.

Do you have any plans to drastically reduce the amount of memory that NewsPro demands?

I have a 512MB machine and am unable to run moderately heavy memory-intensive programs (e.g. Freenet, which really *needs* about 150MB) while running NewsPro.

Thanks,
-Martin
mhex
Posts: 7
Joined: Mon Jun 23, 2003 4:53 am

Post by mhex »

yea it uses a lot of memory.. alex is busy working on a fix apparently though :) maybe 2004 :)
Post Reply