Date: Sun, 28 Jun 1998 17:44:05 -0700 From: phj <phj@www.transfar.com> To: questions@FreeBSD.ORG Subject: How to malloc more memory than 20M. Message-ID: <3596E355.942F1AF9@www.transfar.com>
next in thread | raw e-mail | index | archive | help
Do you know how to malloc more space for my program. char *p; p=(char *)malloc(20000000); it always fail at the above line ,how can I malloc more memory than 20M. Please Help me. thanks everybody reply to me. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3596E355.942F1AF9>