Virtual memory address space
From: Andrei Voropaev (avorop_at_mail.ru)
Date: 10/15/04
- Previous message: Josef Moellers: "Re: [Makefile] File path substitution"
- Next in thread: Kasper Dupont: "Re: Virtual memory address space"
- Reply: Kasper Dupont: "Re: Virtual memory address space"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 15 Oct 2004 11:50:25 GMT
Hello!
After reading thru the books and asking others I know that a user space
process under Linux on 32 bit system can address only first 3G of space.
(In default configuration).
Now. I have a multithreaded application that does a lot of mmaps
(approximately 2G). In the /proc/<pid>/status I see
VmSize: 2241348 kB
VmLck: 0 kB
VmRSS: 149136 kB
VmData: 326436 kB
VmStk: 528 kB
VmExe: 576 kB
VmLib: 7252 kB
This application can't create any more threads. pthread_create returns
EAGAIN. What could be the reason for that? I have 2G of RAM with 1G of
swap. Swap is not used at all. 2.4 Kernel is compiled with HIMEM option.
Basically I don't understand what happened to the 800M of addresses that
I should be able to use?
Andrei
- Previous message: Josef Moellers: "Re: [Makefile] File path substitution"
- Next in thread: Kasper Dupont: "Re: Virtual memory address space"
- Reply: Kasper Dupont: "Re: Virtual memory address space"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|