[sane-devel] SuSE 10.0 gets "Out of memory" for Epson 4870
(GT-X700)
Henning Meier-Geinitz
henning at meier-geinitz.de
Sun Oct 23 12:03:25 UTC 2005
Hi,
On Sat, Oct 22, 2005 at 01:33:37PM -0400, Karl Heinz Kremer wrote:
> The error message comes from the scanner, and not Sane or XSane (or
Are you sure (well, it's your backend :-)?
[epson] out of memory (line 4860)
This is the code which results in the error (in sane_start):
if (lcount == 0)
{
DBG (1, "out of memory (line %d)\n", __LINE__);
return SANE_STATUS_NO_MEM;
}
As far as I can see, lcount is set here:
lcount = sanei_scsi_max_request_size / s->params.bytes_per_line;
So lcount would be 0 if sanei_scsi_max_request_size were smaller than
(in this case) 41712. Maybe there is a problem with this kernel buffer
size?
Bye,
Henning
More information about the sane-devel
mailing list