LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-20-2004, 06:42 PM   #1
podollb
Member
 
Registered: Oct 2003
Location: Grand Forks, ND
Distribution: Suse/Slackware/RH
Posts: 161

Rep: Reputation: 30
increasing heap size


I need to find out a way to increase the linux kernel maximum heap size. I also want to know the limitations on it, does anyone know?

Linux mynode 2.4.22-1.2174.nptlsmp #1 SMP Wed Feb 18 16:22:03 EST 2004 i686 athlon i386 GNU/Linux
 
Old 03-05-2005, 02:02 PM   #2
maldini1010
Member
 
Registered: Sep 2004
Location: Montreal
Posts: 53

Rep: Reputation: 15
Hi im having the same problem! I am running Eclipse and it keeps busting that I should increase the heap size. By any change did you learn how to do this.....

PS: if i found out i will come to post it on this thread. np

Later
maldini
 
Old 03-06-2005, 10:30 PM   #3
podollb
Member
 
Registered: Oct 2003
Location: Grand Forks, ND
Distribution: Suse/Slackware/RH
Posts: 161

Original Poster
Rep: Reputation: 30
I think your problem is vastly different. But you can just probably start Eclipse with the -Xmx256m flag
 
Old 03-07-2005, 12:42 AM   #4
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
i am far from expert on this but this is how i see it
i don't think there is alot you can do about this
i believe the vitual paging space available to each process in the 2.4 series is
4 Gigs
the 4Gbs limit is fixed and has to do with hardware limitations in a 32 bit ix86 processor i think
some say this is 3Gb from a total 4Gigs with one (896 MB) reserved for kernel address space
looks to me however looking at the code that everybody has access to the entire 4Gb.
With some priority bits set and whatnot.
and i think this would be portioned out per 4mb page as needed (bottom to top)
text,heap,libs,stack
so each process has accss to the full 4G and what can be heap is only limited to what is not already used otherwise. (with "ulimit -s" you can limit the stack) and i guess in certain situation this could give more room to the freestore but i can't imagine in what situation. "ulimit -a" to see what it is now.
mine is 8192kb which is twice the size of the total which must be a way of saying unlimited.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Find out heap size for a PID luexiong Linux - General 1 03-29-2005 10:40 AM
Increasing X window size icarus Linux - General 1 08-09-2002 09:12 PM
Increasing /tmp size anilkumarby Linux - General 4 05-03-2002 04:18 AM
Increasing partition size?? petey *BSD 5 04-25-2002 08:24 AM
Increasing Partition Size? petey Linux - General 1 04-24-2002 12:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:49 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration