๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #175271

Re: Xnews - NZB Export, What's The Point?

#175271
From: Randy
Date: Thu, 20 Oct 2005 18:50
158 lines
6763 bytes
Luu Tran <xnews@newsguy_.com.invalid> wrote in 
news:Xns96F55E0215F32luutrangeocities@130.81.64.196 thusly: 

> Randy <Randy@Invalid.arg> wrote in 
> news:Xns96F552637D915Rinvalidarg@news.supernews.com... 
>
>> Would these other issues take to long: 
>>
>> 1) Increase the internal memory and resource size limit? 
>
> Elaborate? 

Xnews will sometimes display the following error dialogs in large
groups: 

.----------------------. 
|Xnews           _ [] X| 
}----------------------{ 
| \/                   |
| /\    Out of Memory. | 
|                      |
|         [OK]         | 
|                      |
`----------------------' 

Or this one: 

.--------------------------------. 
|Xnews                     _ [] X| 
}--------------------------------{ 
| \/                             |
| /\    Out of system resources. | 
|                                | 
|              [OK]              | 
|                                | 
`--------------------------------' 

This happens when holding down the shortcut key to mark articles read. 
Either held down for long periods of time or accumulative over time. It 
also occurs when moving articles to a queue folder. I believe it's more 
likely to occur when there are many articles scattered about that have 
already been marked read from a previous visit to the group. 

I'm running an Asus, Intel 3.4GHz with XP Pro SP1. There is 2GB of RAM 
and a 3GB Pagefile. The memory has been thoroughly tested with MemTest 
and passes without error. TaskList shows that I have plenty of RAM 
unused when this happens. 

I didn't know what else to call it, but an internal memory and resource 
size limit. 

>> 2) Prevent Xnews from unnecessarily accessing the clipboard? 
>
> You mean when displaying a jpeg, right?  Yeah that's ugly; I'll think 
> about it. 

Thanks. It appears to be not limited to just inline JPEGs, it also 
happens in the compose window for some reason. 

>> 3) Allow more than on average 5000 headers when grabbing their 
>> bodies? 
>>
>
> Not sure what you mean here. 

In tech groups, I often grab all the bodies so I can do complete 
searches when I'm looking for information. 

If there are anywhere between 4200 and 6500 continuous articles that 
have already had their body pulled from the server, Xnews locks up and 
disappears. 

I describe in a past post the same condition by using a slightly 
different example. In that example, I suggested the following: 

1) Start Xnews. 

2) Open any text group with 6,000 articles. 

Note: The idea is to check for a crash. Suggest picking one you don't 
      follow at all. 

3) After the group opens, press CTRL+SPACE combo to queue all. 

4) Move mouse to the Transfer menu and select a Queue folder to deposit 
    queued articles. 

5) Once transferred, go to the Folder menu and open the same Queue 
    folder you just used with the Transfer menu. 

6) Press CTRL+SPACE combo to queue all. 

7) Use the mouse to select Article/Fetch To Storage from menu. 

WARNING: Before continuing, the next step SHOULD crash Xnews. 

8) With step 7 complete, repeat steps 6-7. 

Here, Xnews just disappears when the article count reaches 4,500 and 
greater. It's happens so quickly for the actual number. 

If for some reason this doesn't effect you, could you try an additional 
header/body fetch (add more and/or start over)? 

After testing, use the Purge Folder option to close the folder and 
completely remove/delete all traces of the folder's contents. Or you can 
use the CTRL+A, Delete and ESC. 

**** 

The issue was confirmed by ยปQยซ, here is what he wrote: 

"Went back into group, marked all read, refreshed headers special and 
downloaded 6000+ more headers.  Changed view to show only unread, 
selected all these new articles and transferred them to the /_Queue/. 
Now there were 13152 headers in the queue folder.  Queued them all, 
initiated fetch to storage again.  At 6432/13152, Xnews' CPU usage 
jumped to 99% and the program hung.  (Throughout the transferring and 
fetching up to this point, CPU usage had hovered between 70 and 80%.) 
About a minute later, Windows played one of those alarm WAVs and Xnews 
disappeared from the screen and from the tasklist." 

>> 4) Riched32.dll[1]. 
>>
>> [1] 27-Mar-2002 
>>
>>   The eternal richedit control (riched32.dll) problem 
>>
>>     It seems under Windows 2000 and XP (and possibly Millenium), 
>>     EM_SETTEXT, the command I use to set the editable region, 
>>     doesn't have any effect in the richedit control as far as 
>>     wrapping is concerned. This means that text still wraps at the 
>>     window's boundary rather than at a specific width. !UPDATE: 
>>     setting the no automatic vertical scrolling style doesn't seem 
>>     to have the same effect, causing the screen to scroll down as 
>>     the article loads.! So if you're using Win2K+, please please 
>>     download and unzip this into your Xnews directory. 
>>
>> Is this still valid for XP Pro sp1 and should still be used with the 
>> most recent version of Xnews? 
>
> I upgraded to XP w/o changing anything in the Xnews directory.  Looks 
> like I still have the richedit dll in there.  I suspect you should go 
> ahead and use it.  What problems are you having? 

Long lines of text still wrap at the window's boundary and I didn't 
understand the fixed. I'll leave the DLL in the Xnews directory. 

> Or do you just prefer not to have multiple riched32.dll floating 
> around? 

Naw, that doesn't bother me. 

-- 

Randy 
Technical Details
Message-ID: <Xns96F5786D89C23Rinvalidarg@news.supernews.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!news-in.ntli.net!newsrout1-win.ntli.net!ntli.net!sn-xit-02!sn-xit-11!sn-xit-06!sn-xit-05!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
References: <Xns96F2CA13AFF5FRinvalidarg@news.supernews.com> <Xns96F37F27FF0AFluutrangeocities@130.81.64.196> <Xns96F552637D915Rinvalidarg@news.supernews.com> <Xns96F55E0215F32luutrangeocities@130.81.64.196>

Show Full Headers
Complete Article Headers
Message-ID: <Xns96F5786D89C23Rinvalidarg@news.supernews.com>
Subject: Re: Xnews - NZB Export, What's The Point?
Date: Thu, 20 Oct 2005 18:50:17 -0000
From: Randy <Randy@Invalid.arg>
References: <Xns96F2CA13AFF5FRinvalidarg@news.supernews.com> <Xns96F37F27FF0AFluutrangeocities@130.81.64.196> <Xns96F552637D915Rinvalidarg@news.supernews.com> <Xns96F55E0215F32luutrangeocities@130.81.64.196>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!news-in.ntli.net!newsrout1-win.ntli.net!ntli.net!sn-xit-02!sn-xit-11!sn-xit-06!sn-xit-05!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
Newsgroups: news.software.readers
Organization: Posted via Supernews, http://www.supernews.com
User-Agent: Xnews/2005.10.18
X-No-Archive: yes
X-Complaints-To: abuse@supernews.com
Lines: 158