Page 1 of 1

NP's Memory Usage while Idle

Posted: Fri Jan 16, 2004 12:45 pm
by Gary Gnews
While my NewsPro instances are sitting idle using no CPU whatsoever, they continue to consume hundreds of MBs of memory.

Is this memory usage the caching of the database?

If so, is there a way tofree up this memory in between downloading new headers?

Is this what "minimize disk accesses" does?

Thanks for any answers.

GG

Posted: Fri Jan 16, 2004 2:51 pm
by MikeStammer
Minimize disk access would pull MORE stuff into memory so things run faster (since it wont have to read from a much slower hard disk).

How much memory do you have?

Posted: Fri Jan 16, 2004 3:22 pm
by alex
while idle newspro doesn't consume memory whatever shown in the windows task manager, it just have the database mapped into memory, but the system easily can to use the memory for other applications.

as to the windows task manager - when you minimize newspro the memory usage is shown to be small, but in fact it is all the same. even if an application consumes memory directly, the system may push its memory space into the system paging file thus releasing physical memory for other applications. it is possible to lock memory pages to prevent swapping but newspro doesn't do that.

Posted: Fri Jan 16, 2004 4:33 pm
by Gary Gnews
Cool...thanks a lot Alex. After testing your points on memory usage by performing some video ripping while NP was shown in the task manager as idle but using 400+MB's of RAM, I am convinced that you are 100% correct...not that I ever doubted you! :) The system does free-up and use the resources without noticable delay.

BTW, Mike...thanks for your reply. I figure the "minimize disk accesses" option was the reason my gig of RAM was sucked up pretty handily by 3 instances of newspro. But things are running nicely after a bit of tinkering.

Thanks again.

Posted: Mon Jan 19, 2004 6:41 pm
by bassie
Where is that "minimize disk access" ?

I cannot find it

:?:

Posted: Tue Jan 20, 2004 1:54 am
by Gary Gnews
It's right under File. You can minimize disk accesses while NP is running, or you can choose to do it at each start-up.