Filemap failure, NB2 files and the /3gb switch.
Posted: Thu Sep 29, 2011 8:46 pm
You know, some people reported Autopar didn't work in 6 and I could never reproduce it. I added some logging and some interesting log messages started to show up in some reports.
For example. This happens to people running 32 bit windows who have Newsbin using a bunch of RAM (loaded groups, wish and download list). The problem is, 32 bit windows is limited to 2 GB of RAM use per process. When a file downloads, Newsbin maps it into memory and does processing on it like autopar and signature generation. If you already have a bunch of stuff in memory, say 1.5 gigs and Newsbin needs to map a 200 meg file into memory, there might not be a contiguous block of address space to make this happen. You get a filemap error and autopar doesn't get the data it needs. In 6.1, it also means the file doesn't get renamed to the final filename.
http://technet.microsoft.com/en-us/libr ... 0(EXCHG.65).aspx
http://msdn.microsoft.com/en-us/library ... 32(v=vs.85).aspx
This is some information on setting the /3gb switch in 32 bit windows. It lets you have an extra 1 GB of address space for your process and makes this problem less likely to happen. So, keeping RAM use down and/or setting the /3gb switch should hopefully prevent filemap errors.
64 bit windows doesn't seem to have this problem. It has a vast address space.
[16:06:01] ERROR - INT_AssembleFile: Unable to MAP file <filename>[274/306] - "<filename>.part272.rar" yEnc
For example. This happens to people running 32 bit windows who have Newsbin using a bunch of RAM (loaded groups, wish and download list). The problem is, 32 bit windows is limited to 2 GB of RAM use per process. When a file downloads, Newsbin maps it into memory and does processing on it like autopar and signature generation. If you already have a bunch of stuff in memory, say 1.5 gigs and Newsbin needs to map a 200 meg file into memory, there might not be a contiguous block of address space to make this happen. You get a filemap error and autopar doesn't get the data it needs. In 6.1, it also means the file doesn't get renamed to the final filename.
http://technet.microsoft.com/en-us/libr ... 0(EXCHG.65).aspx
http://msdn.microsoft.com/en-us/library ... 32(v=vs.85).aspx
This is some information on setting the /3gb switch in 32 bit windows. It lets you have an extra 1 GB of address space for your process and makes this problem less likely to happen. So, keeping RAM use down and/or setting the /3gb switch should hopefully prevent filemap errors.
64 bit windows doesn't seem to have this problem. It has a vast address space.