Page 1 of 1
Memory freeing
Posted: Mon Aug 11, 2003 10:06 am
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
Posted: Mon Aug 11, 2003 10:15 am
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.
Posted: Mon Aug 11, 2003 10:25 am
by boeda
Thanks I'll try it.
Posted: Mon Aug 11, 2003 11:26 am
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.
Posted: Sat Sep 13, 2003 3:36 am
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
Posted: Mon Sep 29, 2003 5:32 pm
by mhex
yea it uses a lot of memory.. alex is busy working on a fix apparently though
maybe 2004