ditto@cbmvax.UUCP (Michael "Ford" Ditto) (03/17/89)
In article <914@koko.UUCP> jb@koko.UUCP (John Birchfield) writes: >How much swap space is provided as a default on the PC7300 (3b1)? >I have a 3b1 with 2 megs of memory (around 1.7 meg available) and >a 67 meg hard disk. I wrote a program to allocate memory until it >failed and it managed to suck up around 2.3 megs before malloc failed. >It seems to me I should be able to do a little better than that. That 2.3 megs amount represents the address space limitation of the Unix PC - The total of text, data, and stack segments can not exceed 2.5Meg. This is because only addresses 0x80000 - 0x300000 are available for normal use. The shared library text and data areas are separate from and in addition to that 2.5M amount. Between your text segment and your stack, you probably have about 2.3 Meg of mallocable memory left, so your results seem quite reasonable. -- -=] Ford [=- "The number of Unix installations (In Real Life: Mike Ditto) has grown to 10, with more expected." ford@kenobi.commodore.com - The Unix Programmer's Manual, ...!sdcsvax!crash!kenobi!ford 2nd Edition, June, 1972. ditto@cbmvax.commodore.com