Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
07-17-2002, 08:34 PM
|
#1
|
LQ Newbie
Registered: Jul 2002
Posts: 4
Rep:
|
Does anyone know the max memory a process can use?
I need to know how much memory a single process can use in a Linux (RedHat 7.2 or later) machine. We run very large simulations that take upwards of 4GB of memory for the process and need to know if Linux is a viable solution. Any Help is greatly appreciated!!!!!
|
|
|
07-17-2002, 09:09 PM
|
#2
|
LQ Guru
Registered: Jan 2001
Posts: 24,149
|
I don't think there is a limit if you have the RAM/Memory to back it up. I just know there is a default limit to the number of processes which is usually at 4094 for a user.
|
|
|
07-18-2002, 07:50 AM
|
#3
|
LQ Newbie
Registered: Jul 2002
Posts: 4
Original Poster
Rep:
|
I have heard there is and it makes sense
I have heard and read somewhere that the system can only use 3.8GB of memory. That is for the entire system, but someone has told me that a single process has a 2GB limit. Thanks for the reply though!!!
|
|
|
07-18-2002, 02:37 PM
|
#4
|
LQ Guru
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163
Rep:
|
Pfff this is not true. Just take a look into the kernel, you can activate "high memory support" up to 24GB... I don't know if a process can take more than 2Gb, but the system can go farther!
|
|
|
07-18-2002, 02:47 PM
|
#5
|
LQ Newbie
Registered: Jul 2002
Posts: 4
Original Poster
Rep:
|
Half_Elf is that any release of Red Hat, thought that was reserved for "ADvanced Server" 7 and Above.
|
|
|
07-18-2002, 03:54 PM
|
#6
|
LQ Guru
Registered: Jan 2001
Posts: 24,149
|
Quote:
Originally posted by A_quest_guy
Half_Elf is that any release of Red Hat, thought that was reserved for "ADvanced Server" 7 and Above.
|
As Half_Elf stated, it all depends on the kernel, not the distro. At most all you would have to do if your current kernel does not support is update and compile. Usually by default it won't recognize any RAM more than 4GB with the 2.4.x kernel series but that is fixed with a simple recompile.
|
|
|
07-18-2002, 05:46 PM
|
#7
|
LQ Newbie
Registered: Jul 2002
Posts: 4
Original Poster
Rep:
|
Thanks for the information, hate to be a bug, but does anyone know about a single process? That is the real issue since the systems that we are looking at using will only have 4GB of Memory. I know with some of the versions of solaris there is a change that you have to do to the "ulimit" to allow the use of more then 2GB.
|
|
|
07-18-2002, 06:37 PM
|
#8
|
root
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,610
|
The answer to your question depends on the arch you are using. On x86 the max is 4GB per process, but the top 1GB of that is mapped as kernel space, so the app can only use 3GB. To get around this you would need to use a 64-bit processors, such as Sparc or Alpha.
BTW, I *think* there is a kernel patch floating around to work around this, but I have never used it so I cannot comment on it.
--jeremy
|
|
|
All times are GMT -5. The time now is 01:23 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|