Messages in this thread | | | Date | Wed, 7 Apr 1999 08:53:56 +0200 | From | ralf@uni-kobl ... | Subject | Re: 2GB malloc impossible ? |
| |
On Tue, Apr 06, 1999 at 02:07:31PM +0000, Alexander V. Mirgorodsky wrote:
> I'm trying to allocate 2GB of Physical memory from user program. (I do > have that much so I use 2:2 split of address spaces). > > The fact is that malloc'ing more than 1.3G results in ENOMEM. I tried to > track the problem down and found that mmap wants to map desired region > starting from something like 0x2aaab000. No wonder it couldn't map more > than 0x80000000 - 0x2aaab000 bytes. > > I have no idea about where 0x2aaab000 has come from, but I am eager to > know. If anybody has the solution, or any suggestions, please, let me > know.
0x2aaab000 = 0x80000000 / 3 + a little bit.
Ralf
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |