From: tez@pierrot.co.uk (Terrance Richard Boyes)
Subject: Re: weird behavior of malloc()
Date: Thu, 11 Jan 2001 00:09:26 +0000 (GMT) [thread overview]
Message-ID: <20010111.000926.9E9801DE.1gaa@pierrot.co.uk> (raw)
In-Reply-To: 93iohn$m3c$1@nnrp1.deja.com
rwgk@my-deja.com wrote:
> System:
> Red Hat Linux release 6.2 (Zoot)
> Kernel 2.2.14-6.0smp on a 2-processor alpha
> On this system, malloc() returns pointers to places in memory that
> are very far apart. For example, one call returns 0x125f77510,
> and the next one 0x20000002010 (the first call only allocates
> 16 bytes or so, the second one about 160000 bytes).
Memory fragmentation. And possibly an attempt to minimise it ?
--
<URL:http://www.pierrot.co.uk/faq/dtm.faq> Team AMIGA
An egg has the shortest sex-life of all: if gets laid once; it gets
eaten once. It also has to come in a box with 11 others, and the only
person who will sit on its face is its mother.
next prev parent reply other threads:[~2001-01-11 0:09 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-01-10 22:43 weird behavior of malloc() rwgk
2001-01-11 0:09 ` Terrance Richard Boyes [this message]
2001-01-11 2:28 ` Larry Zimmerman
2001-01-11 16:38 ` Greg Lindahl
2001-01-11 16:07 ` Pierre Asselin
2001-01-11 18:25 ` T. Daniel Crawford
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox