bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Allocate more than 2GB of memory


From: Petter Reinholdtsen
Subject: Re: Allocate more than 2GB of memory
Date: Thu, 22 Jul 2004 09:00:36 +0200
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (usg-unix-v)

[Leonardo Giordani, 2003-04-28]
> my problem is that I need to allocate more than 2GB of memory, but
> malloc() uses size_t, thus it is impossible.

Hi.  Can you use mmap()?

> I use the macro extensions to fopen and fread to let them use
> off64_t instead of off_t, there is something like this for the
> memory aloocation?

I'm not aware of such extention.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]