Excessive memory usage causing system crashing

Technical support and discussion of Newsbin Version 6 series.

Excessive memory usage causing system crashing

Postby alfke » Tue Apr 09, 2019 1:21 pm

Hello all,

When downloading, Newsbin continues to use memory and will continue to use until my system crashes. Never had trouble before but this just started happening. Doesnt matter how large the file sizes are, or how many I download, the memory usage continues to accumulate ONLY when downloading. Once the download is complete, the memory does not clear up. The only way to clear memory usage it is to restart Newsbin. I tried turning off autopar/rar but the problem persists. Any ideas?

Version: 6.82B3: 00 E2 F7 3F ED 92

Windows 10 Pro, 8 GB RAM

Thanks

Alfke
alfke
n00b
n00b
 
Posts: 8
Joined: Thu Jan 12, 2017 1:16 am

Registered Newsbin User since: 08/02/15

Re: Excessive memory usage causing system crashing

Postby Quade » Wed Apr 10, 2019 12:22 am

Down where it says "Cache" there are some numbers. What do the numbers show?
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 43607
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: Excessive memory usage causing system crashing

Postby alfke » Wed Apr 10, 2019 12:12 pm

Quade wrote:Down where it says "Cache" there are some numbers. What do the numbers show?

It says Cache: 4000/4000 (0)

Here are my performance settings:

[PERFORMANCE]
ChunkCacheSize=4000
MemcacheLimit=0
PauseDownload=1
PreallocateFiles=0
RepairPriority=0
RepairThreads=0
SaveChunksMode=0

I tried changing memcachelimit, savechunksmode but they make no difference. It seems like newsbin writes everything to memory in a temporary file. As soon as I close newsbin, I immediately get the memory back. My down speed is awesome, no issues there (780mbps). Server commands is off as well.
alfke
n00b
n00b
 
Posts: 8
Joined: Thu Jan 12, 2017 1:16 am

Registered Newsbin User since: 08/02/15

Re: Excessive memory usage causing system crashing

Postby itimpi » Wed Apr 10, 2019 12:46 pm

You could try reducing the ChunkCacheSize value. That is the one that defines how many RAM buffers Newsbin can allocate to hold chunks before they need to be flushed to disk. I think the default is more like 400 than the 4000 you have set up.
The Newsbin Online documentation
The Usenettools for tutorials, useful information and links
User avatar
itimpi
Elite NewsBin User
Elite NewsBin User
 
Posts: 12591
Joined: Sat Mar 16, 2002 7:11 am
Location: UK

Registered Newsbin User since: 03/28/03

Re: Excessive memory usage causing system crashing

Postby alfke » Wed Apr 10, 2019 1:40 pm

itimpi wrote:You could try reducing the ChunkCacheSize value. That is the one that defines how many RAM buffers Newsbin can allocate to hold chunks before they need to be flushed to disk. I think the default is more like 400 than the 4000 you have set up.


That worked! I reduced to 400 from 4000, and memory usage never went above 1.6GB while retaining my speed.

Thanks all!

Alfke
alfke
n00b
n00b
 
Posts: 8
Joined: Thu Jan 12, 2017 1:16 am

Registered Newsbin User since: 08/02/15

Re: Excessive memory usage causing system crashing

Postby Quade » Wed Apr 10, 2019 1:49 pm

That's what I expected. I think what's happening is people are posting larger chunk sized nowadays.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 43607
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97


Return to V6 Technical Support

Who is online

Users browsing this forum: No registered users and 8 guests

cron