[comp.os.minix] MM and MINIX-ST

eesrajm@cc.brunel.ac.uk (Andrew J Michael) (05/05/90)

Whilst looking through 1.5.X to see what has changed, I noticed that on
the ST, mm does not release the memory of the previous process before it
allocates the new one, whereas on the PC the opposite happens.  (Look at
lines 281 to 285 of mm/exec.c)

This means that on a small machine like a 1040 (or, God forbid, a 520) 
you can run out of memory even when there is actually enough memory to
run the new process.  If the old process is gcc-cc1 with a stack allocation
of 2.5Mb you even get problems on a 4 Mb ST !

Can anyone comment on why things are done this way ?  I can't see any
objection, IMHO, to putting things the way the PC does them.

Andy Michael


-- 
Andy Michael (eesrajm@cc.brunel.ac.uk)      " Software cannot be written to
85 Hawthorne Crescent                        be completely free of errors."
West Drayton
Middlesex                                    - Acorn Computers Ltd.
UB7 9PA