gabriel rosenkoetter on Sat, 20 Apr 2002 00:10:16 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Converting graphics on linux


On Fri, Apr 19, 2002 at 05:15:19PM -0400, ian reinhart geiser wrote:
> Unfortunately if I had the memory to contain 150megs of GIF file in memory 
> this would not be an issue.  What I am looking for is a tool that will let 
> you write all of the files to one file, and not take up all of the memory.

::blink::

Heard of virtual memory?

In any case, no sane program would try to hold all of a 150 MB file
in memory at a time; rather, it'd mmap() one page-sized chunk
(perhaps giving the VM system some preload hints about what it's
going to want next), and then write out in the same size.

Have you actually *tried* this and seen a memory error, or do you
just believe there'll be a problem?

-- 
gabriel rosenkoetter
gr@eclipsed.net

Attachment: pgpZuvzl375QP.pgp
Description: PGP signature