[developers] Pet/ECL memory problems

Bernd Kiefer kiefer at dfki.de
Fri Feb 10 14:22:06 CET 2006


Hi Francis,

do you still have this memory problems? If so, this may be the
consequence of a change in the chunk-allocator mmap code. I tried to
circumvent the problem that cheap dies because of trying to mmap at
hardcoded addresses and failing to do so.

It now moves the address down (or up, depending on the machine
architecture) by some amount and then retries. Unfortunately, this
does not seem to work properly either.

Since the addresses specified for the mmap are only <hints> for the 
underlying system, there is no guarantee at all that this scheme
works. If you don't get to run cheap at all on some machine, disable
the mmap feature during ./configure (at the cost of a bit of
efficiency). 

If i knew of a way to get rid of the mmap scheme without to much
performance loss, i would immediately throw mmap out.

Sorry about that,

      Bernd

-- 
**********************************************************************
Bernd Kiefer                                            Am Blauberg 16
kiefer at dfki.de                                      66119 Saarbruecken
+49-681/302-5301 (office)                      +49-681/3904507  (home)
**********************************************************************





More information about the developers mailing list