LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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


Reply
  Search this Thread
Old 07-17-2002, 08:34 PM   #1
A_quest_guy
LQ Newbie
 
Registered: Jul 2002
Posts: 4

Rep: Reputation: 0
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!!!!!
 
Old 07-17-2002, 09:09 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 270Reputation: 270Reputation: 270
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.
 
Old 07-18-2002, 07:50 AM   #3
A_quest_guy
LQ Newbie
 
Registered: Jul 2002
Posts: 4

Original Poster
Rep: Reputation: 0
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!!!
 
Old 07-18-2002, 02:37 PM   #4
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 46
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!
 
Old 07-18-2002, 02:47 PM   #5
A_quest_guy
LQ Newbie
 
Registered: Jul 2002
Posts: 4

Original Poster
Rep: Reputation: 0
Half_Elf is that any release of Red Hat, thought that was reserved for "ADvanced Server" 7 and Above.
 
Old 07-18-2002, 03:54 PM   #6
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 270Reputation: 270Reputation: 270
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.
 
Old 07-18-2002, 05:46 PM   #7
A_quest_guy
LQ Newbie
 
Registered: Jul 2002
Posts: 4

Original Poster
Rep: Reputation: 0
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.
 
Old 07-18-2002, 06:37 PM   #8
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,610

Rep: Reputation: 4115Reputation: 4115Reputation: 4115Reputation: 4115Reputation: 4115Reputation: 4115Reputation: 4115Reputation: 4115Reputation: 4115Reputation: 4115Reputation: 4115
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
max % of CPU for one process uselpa Slackware 2 07-30-2005 08:21 AM
Help Configuring the Memory Used by a Process in RedHat? (Cache Memory on CPU) geogecko Linux - General 3 02-23-2005 03:32 PM
max process size textomat Linux - General 1 11-06-2004 01:10 PM
What is the max memory a process can use? shelby Linux - Hardware 1 04-27-2004 12:05 PM
max process limit anoop_chandran Linux - Networking 2 01-16-2002 05:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration