* [9fans] Malloc
@ 1998-11-20 18:42 forsyth
0 siblings, 0 replies; 3+ messages in thread
From: forsyth @ 1998-11-20 18:42 UTC (permalink / raw)
the limit isn't really a function of the compiler,
since pcc uses the same one,
but APE's libraries are typically larger.
the problem is possibly a kernel limit on
the PC: check that you don't need
to change SEGMAPSIZE in /sys/src/9/pc/mem.h
#define SEGMAPSIZE 64 /* 16 is for wooses */
i think this is in the FAQ somewhere, which you might
check for details (in case anything else is required).
perhaps /sys/src/ape/lib/ap/plan9/malloc.c needs
similar changes to /sys/src/libc/port/malloc.c
(which are in a boddle somewhere).
^ permalink raw reply [flat|nested] 3+ messages in thread
* [9fans] malloc
@ 2012-05-21 20:31 steve
0 siblings, 0 replies; 3+ messages in thread
From: steve @ 2012-05-21 20:31 UTC (permalink / raw)
To: 9fans
i posted before i got to the end of the thad,
i apologise for the noise.
-Steve
^ permalink raw reply [flat|nested] 3+ messages in thread
* [9fans] Malloc
@ 1998-11-20 17:45 Franklin
0 siblings, 0 replies; 3+ messages in thread
From: Franklin @ 1998-11-20 17:45 UTC (permalink / raw)
I'd like to allocate a block of memory of at least 32MB (my PC have only 64MB). I'm using
malloc, but when I compile using 8c I can allocate only 16MB and when I use pcc I can
allocate only 8MB.
Franklin.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-05-21 20:31 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-11-20 18:42 [9fans] Malloc forsyth
-- strict thread matches above, loose matches on Subject: below --
2012-05-21 20:31 [9fans] malloc steve
1998-11-20 17:45 [9fans] Malloc Franklin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).