This does not sounds like a lot of memory. I really have no idea how much Sane needs.
How good are you with the compiler? If you think you can modify the source code, go to line 5688 and add some code before the malloc that fails. Try to malloc memory until you can no longer get more memory. Print the size you were able to allocate. This gives you some idea how much memory you have. On Mar 5, 2004, at 6:33 PM, Philippe PEZET wrote: > 32 Meg box, installed a 12 Meg tmpfs for system (36% used only) + 4 > Meg for logging. > > > ----------------------------------------------------------------------- > - > It probably is a result of the out of memory error. This error is > caused by a failed malloc > call. How much memory do you have in your embedded box? > > > On Mar 5, 2004, at 1:16 PM, Philippe PEZET wrote: > >> I am trying to use an scsi EPSON (GT9000 or 1200C) device on a >> Bering-uClibc box. >> with the following : >> >> export SANE_DEBUG_DLL=255 >> export SANE_DEBUG_EPSON=128 >> saned -d128 & >> scanimage -L >> >> saned starts going thru the epson.conf file which apparently goes >> well sending buf outputs and ends up with : >> >> option equipment is installed >> out of memory (line 5688) >> .... >> ... >> sane_get_devices() >> sane_get_devices : found 0 devices. >> >> is the "out of memory" the reason why it fails ? >> any hint ? >> >> >> -- >> sane-devel mailing list: [email protected] >> http://lists.alioth.debian.org/mailman/listinfo/sane-devel >> Unsubscribe: Send mail with subject "unsubscribe your_password" >> to [email protected] > > > > -- > sane-devel mailing list: [email protected] > http://lists.alioth.debian.org/mailman/listinfo/sane-devel > Unsubscribe: Send mail with subject "unsubscribe your_password" > to [email protected]
