Newsbin process grows in memory after nzb download

Technical support and discussion of Newsbin Version 6 series.

Newsbin process grows in memory after nzb download

Postby mkanet » Tue Apr 16, 2013 3:24 pm

I am hoping there is a setting to automatically return any extra physical memory the Newsbin process consumed during the nzb download (so it returns back to the size when it was first loaded into memory) without me having to manually restart the process each time. I realize that there is probably a good reason why the process grows after an nzb download; however, it's not something I need.. and, prefer to return this memory back to my available physical ram.

I tried looking for a solution, by doing google searches, but couldn't find anything useful. Thanks in advance!
mkanet
Active Participant
Active Participant
 
Posts: 98
Joined: Mon Jan 29, 2007 2:16 pm

Re: Newsbin process grows in memory after nzb download

Postby Quade » Tue Apr 16, 2013 3:45 pm

How much ram are we talking about? How many cache entries do you show in the status bar?
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 44994
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: Newsbin process grows in memory after nzb download

Postby mkanet » Tue Apr 16, 2013 4:19 pm

I just restarted newbin pro. I'll have to wait until I download something large again.

The normal dormant size of Newbin pro is only 17Mbs or so after startup. After a few large downloading, it can each up to about a half a Gb! I've always restarted the process to return it back to 17Mbs; but, I know there has to be a better way to do this if I dont care about caching anything after an nzb has finished downloading.
mkanet
Active Participant
Active Participant
 
Posts: 98
Joined: Mon Jan 29, 2007 2:16 pm

Re: Newsbin process grows in memory after nzb download

Postby Quade » Tue Apr 16, 2013 5:43 pm

How many cache entries do you show in the status bar?


I consider 100 megs or more to be normal. 500 megs, not. I suspect you have too many cache entries.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 44994
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: Newsbin process grows in memory after nzb download

Postby mkanet » Tue Apr 16, 2013 8:23 pm

So... is there a way to restore memory consumption back to what it is when it first loads into memory without restarting the app? I didn't see any settings that flush cache after nzb download/unrar. I didn't even see a memory cache size setting.
mkanet
Active Participant
Active Participant
 
Posts: 98
Joined: Mon Jan 29, 2007 2:16 pm

Re: Newsbin process grows in memory after nzb download

Postby Quade » Tue Apr 16, 2013 9:55 pm

No on the getting RAM back. You can somewhat control how much RAM it uses with the cache count. I'll probably have to tell you how to set it.

Down on the status bar, where it says "Cache" what are the numbers?

How many connections do you use? Each connection gets a meg of RAM off the top. Then they might allocate another meg depending on what they're doing.

Windows will take the ram back automatically if it's needed, this isn't typically something you need to micromanage.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 44994
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: Newsbin process grows in memory after nzb download

Postby mkanet » Tue Apr 16, 2013 11:12 pm

I use 60 connections on one server; and 15 on my fill server in order to overcome ISP's speed limitation. My speed is over 150mbps download consistently (if enough connections). Windows is "supposed" to take back memory in a perfect world. But, unfortunately, it doesnt work that way in real use. I've never seen Newsbin process go back down in size even when my PC is low on memory. It would rather use the swap file than do that. It would be a much more effective to have a "Purge cache on download completion" setting. I dont see it hurting anything; and, can be very useful. Also, it should be relatively easy to add.
mkanet
Active Participant
Active Participant
 
Posts: 98
Joined: Mon Jan 29, 2007 2:16 pm

Re: Newsbin process grows in memory after nzb download

Postby Quade » Tue Apr 16, 2013 11:33 pm

I'd add this to the NBI file. You can edit it with wordpad. It should be in the data folder.

[Performance]
ChunkCacheSize = 50;

See what happens to your RAM usage.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 44994
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: Newsbin process grows in memory after nzb download

Postby mkanet » Tue Apr 16, 2013 11:52 pm

Thank you so much for helping me. I'll try it out. I just added it in my nbi file like this:

---------------------------------------------------
[Nzb]
NZB_AutoToPost=0
NZB_ClickToPost=0
NZB_DD_Autoload=1
NZB_FilenameFolder=1
NZB_GroupFolder=0
NZB_LoadSingle=0
NZB_NameFolder=1
NZB_NZBFolder=0
NZB_ObeyGlobal=0
NZB_PathClean=1
NZB_PathCleanRE=^(\d+_)|(msgid_\d+_)
PopErrors=0
PopFiles=0
PopNotification=0
PopPass
PopServer
PopUser

[Performance]
ChunkCacheSize = 50;

[Planes]
Active=1
FilterProfile=Global
IsExpanded=1
---------------------------------------------------
mkanet
Active Participant
Active Participant
 
Posts: 98
Joined: Mon Jan 29, 2007 2:16 pm

Re: Newsbin process grows in memory after nzb download

Postby Quade » Wed Apr 17, 2013 12:12 am

Make sure Newsbin isn't running when you make the edit.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 44994
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: Newsbin process grows in memory after nzb download

Postby mkanet » Wed Apr 17, 2013 1:33 pm

Hi, with this new settings, when I first launch the Newsbin process; only takes up about 16-17Mb's. Cache is 20/100.

I just downloaded a small nzb package... 4Gb's; which only took about a minute or so to download. Cache size during download was 19/100. After the download, cache size is 20/100. However, the process grew to over 200Mbs. I imagine it would grow even bigger if I download other nzbs. It's doesnt look like the "cache" shown in the below status bar is directly related to the Newsbin process taking up more memory after a download.

The only visible difference I noticed with this new setting is the overall download speed was slightly faster with all those active connections.
mkanet
Active Participant
Active Participant
 
Posts: 98
Joined: Mon Jan 29, 2007 2:16 pm

Re: Newsbin process grows in memory after nzb download

Postby Quade » Wed Apr 17, 2013 1:48 pm

Hi, with this new settings, when I first launch the Newsbin process; only takes up about 16-17Mb's. Cache is 20/100.


Setting didn't take. You can see it's still 100.

I think you have some other issue. I just downloaded 5 gigs or so and the ram usage is sitting at 90 megs. Which is about what I'd expect with 100 cache and 10 connections. 100 cache is about 50-60 megs. What happens if you download another NZB, does it continue to grow?

What version are you using? The option moved to a different section in 6.42 I believe.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 44994
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: Newsbin process grows in memory after nzb download

Postby mkanet » Wed Apr 17, 2013 2:23 pm

Thank you for replying so quickly. What do I need to do in order for that NewsBin.nbi setting to take effect? All I did was restart Newsbin for it to load the modified data file.

I am using NewsBin Pro 64bit Version 6.34. You mentioned, " The option moved to a different section in 6.42 I believe.". What option do you mean? I know that I'm using an older version, so, I can install the latest beta if you think it will help this issue.

EDIT; I just upgraded to Newsbin 6.5b4. The cache now shows.. 0/50. I will test now....
mkanet
Active Participant
Active Participant
 
Posts: 98
Joined: Mon Jan 29, 2007 2:16 pm

Re: Newsbin process grows in memory after nzb download

Postby mkanet » Wed Apr 17, 2013 4:13 pm

It probably wasn't a smart thing for me to do to use the beta version. I've actually never seen an app do this before on my PC. I download the last public release and try again. Maybe it might have something to do with the cache setting?

https://www.dropbox.com/s/7ov4x1zxcoskp ... 7AM%5D.jpg

https://www.dropbox.com/s/9bfrgvtovufzy ... 8AM%5D.jpg
mkanet
Active Participant
Active Participant
 
Posts: 98
Joined: Mon Jan 29, 2007 2:16 pm

Re: Newsbin process grows in memory after nzb download

Postby Quade » Wed Apr 17, 2013 4:21 pm

Lots of people are running it so, I don't know. It's all I use.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 44994
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: Newsbin process grows in memory after nzb download

Postby mkanet » Wed Apr 17, 2013 5:00 pm

I restarted the app without that setting and this time I happened to watch the monitor... I saw a popup message about low disk space on my download HDD before it crashed again. I made some more room on my download HDD and didnt get the crash at all... it completed just fine. I didnt have this crashing issue (on low disk space) with any of the previous Newsbin versions (since version 3.xx).

Also I noticed that with that setting, the process starts at 22Mbs approximately.. after a large download its about 170MBs or so (and my download speed drops a little bit too). So, that setting seemed to make a tiny bit of difference; but, it definitely didnt return the process anywhere close to what it was before the download.
mkanet
Active Participant
Active Participant
 
Posts: 98
Joined: Mon Jan 29, 2007 2:16 pm

Re: Newsbin process grows in memory after nzb download

Postby TMM » Wed Apr 17, 2013 6:45 pm

I'm also experiencing this issue a large chunk of my ram has after I download regardless of how I downloaded default settings
the bile that I downloaded 1 GB in size
operating system Windows 8 pro Intel core I seven 3770k
With 8 GB of RAM
Due to a defective RAM slot on motherboard it was originally 16 but apart from that nothing has changed
Any help will would be greatly appreciated was never quite this high
TMM
Seasoned User
Seasoned User
 
Posts: 110
Joined: Sat Feb 05, 2011 12:03 am

Registered Newsbin User since: 08/04/10

Re: Newsbin process grows in memory after nzb download

Postby Quade » Wed Apr 17, 2013 6:48 pm

How much ram is it using?
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 44994
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: Newsbin process grows in memory after nzb download

Postby TMM » Wed Apr 17, 2013 6:56 pm

three gig
And like you said it has never use this much ram usually about 300 to 500 megs at the most
Using latest beta
No ballshit
I use a total of 70 connections over four servers
It is extremely odd please help
TMM
Seasoned User
Seasoned User
 
Posts: 110
Joined: Sat Feb 05, 2011 12:03 am

Registered Newsbin User since: 08/04/10

Re: Newsbin process grows in memory after nzb download

Postby TMM » Wed Apr 17, 2013 7:07 pm

Found the corporate it was updating quite a few headers sorry for any inconvenience
TMM
Seasoned User
Seasoned User
 
Posts: 110
Joined: Sat Feb 05, 2011 12:03 am

Registered Newsbin User since: 08/04/10

Re: Newsbin process grows in memory after nzb download

Postby Quade » Wed Apr 17, 2013 8:03 pm

If you have groups loaded into memory, it might be perfectly normal.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 44994
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: Newsbin process grows in memory after nzb download

Postby mkanet » Wed Apr 17, 2013 8:04 pm

Wow, I guess it's normal for it to grow from 20Mb's to 300Mb-500Mbs after downloading when using >70 connections.

For whatever it's worth, I would like to request a feature that automatically flushes/releases consumed memory after a download. There's no reason for the process to hold on to that much memory when its doing nothing; sitting in the system tray. This is particularly useful for people who dont have a whole lot of ram on their PC; and, have many connections (which can cause the process to bloat up to half a gig of ram or more).

TMM wrote:three gig
And like you said it has never use this much ram usually about 300 to 500 megs at the most
Using latest beta
No ballshit
I use a total of 70 connections over four servers
It is extremely odd please help
mkanet
Active Participant
Active Participant
 
Posts: 98
Joined: Mon Jan 29, 2007 2:16 pm

Re: Newsbin process grows in memory after nzb download

Postby Quade » Thu Apr 18, 2013 7:19 am

Two people here commenting. You sort of have to keep it separated. My comment was for TMM.

I wonder if disabling the servers would get you much back? I can think about a purge button but, I'm wondering if that would get you enough RAM back.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 44994
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: Newsbin process grows in memory after nzb download

Postby mkanet » Thu Apr 18, 2013 4:42 pm

Quade, see if you can find the new option in Newsbin 6.5beta which would definitely address this issue. LOL

https://www.dropbox.com/s/9zj9fenevmtdc ... Option.jpg
mkanet
Active Participant
Active Participant
 
Posts: 98
Joined: Mon Jan 29, 2007 2:16 pm


Return to V6 Technical Support

Who is online

Users browsing this forum: Bing [Bot] and 3 guests