sane-project-website/old-archive/1997-05/0043.html

48 wiersze
2.2 KiB
HTML

<!-- received="Thu May 29 21:36:43 1997 MST" -->
<!-- sent="Thu, 29 May 1997 20:45:40 -0700" -->
<!-- name="David Mosberger-Tang" -->
<!-- email="davidm@azstarnet.com" -->
<!-- subject="Re: image buffering" -->
<!-- id="199705300345.UAA22158@panda.mosberger" -->
<!-- inreplyto="864tblu14l.fsf@localhost.profitpress.com" -->
<title>sane-devel: Re: image buffering</title>
<h1>Re: image buffering</h1>
<b>David Mosberger-Tang</b> (<a href="mailto:davidm@azstarnet.com"><i>davidm@azstarnet.com</i></a>)<br>
<i>Thu, 29 May 1997 20:45:40 -0700</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#43">[ date ]</a><a href="index.html#43">[ thread ]</a><a href="subject.html#43">[ subject ]</a><a href="author.html#43">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0044.html">Andreas Gaumann: "mustek-probs: color, preview"</a>
<li> <b>Previous message:</b> <a href="0042.html">Gordon Matzigkeit: "Re: image buffering"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>
<!-- body="start" -->
<i>&gt;&gt;&gt;&gt;&gt; On 29 May 1997 20:47:38 -0600, Gordon Matzigkeit &lt;<a href="mailto:gord@m-tech.ab.ca">gord@m-tech.ab.ca</a>&gt; said:</i><br>
Gord&gt; Sane defaults, to me, would be trying to malloc the whole<br>
Gord&gt; thing, then if that fails, mmapping, and if that fails,<br>
Gord&gt; writing to a temp file.<br>
<p>
Caveat: mmap() will not fail on systems with lazy swap-space<br>
allocation (such as Linux). Somebody will get a SIGSEGV when running<br>
out of space, but it's not necessarily the application that used "too<br>
much" memory.<br>
<p>
--david<br>
<p>
<pre>
--
Source code, list archive, and docs: <a href="http://www.azstarnet.com/~axplinux/sane/">http://www.azstarnet.com/~axplinux/sane/</a>
To unsubscribe: mail -s unsubscribe <a href="mailto:sane-devel-request@listserv.azstarnet.com">sane-devel-request@listserv.azstarnet.com</a>
</pre>
<!-- body="end" -->
<p>
<ul>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0044.html">Andreas Gaumann: "mustek-probs: color, preview"</a>
<li> <b>Previous message:</b> <a href="0042.html">Gordon Matzigkeit: "Re: image buffering"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>