Have you tried enabling CONFIG_HIGHMEM64G when building your kernel?
With a 4GB VM space, the kernel occupies 1 GB and processes 3GB as
defined by TASK_SIZE:

  page.h:81:#define __PAGE_OFFSET               (0xC0000000)
  page.h:120:#define PAGE_OFFSET                ((unsigned long)__PAGE_OFFSET)
  processor.h:268:#define TASK_SIZE     (PAGE_OFFSET)

I assume that these are changed when you compile with
CONFIG_HIGHMEM64GB. 

--- Vladimir

--------
Vladimir G. Ivanovic                        http://leonora.org/~vladimir
2770 Cowper St.                                         [EMAIL PROTECTED]
Palo Alto, CA 94306-2447                                 +1 650 678 8014

"e" == ej  <Eric> writes:

  e> I am depserately trying to get a single JVM to grow beyond the 2GB
  e> size limit that I've hit.  I've tried both the IBM and Sun JVM's but
  e> without any luck.  They both use mmap() to allocate memory, so there
  e> isn't a way to drop in a better memory allocation ssytem such as the
  e> "hoard" malloc().

  e> My Linux configuration is:  Debian woody with a 2.4.17 kernel on a
  e> Compaq Proliant 6500 with 4 Xeon 500's and 4GB of RAM along with about
  e> 800MB of swap.

  e> I have tried the latest IBM 1.3.1, blackdown 1.3.1, and Sun 1.4
  e> releases.  The problems with the Sun and blackdown JVM is as
  e> http://developer.java.sun.com/developer/bugParade/bugs/4401509.html
  e> puts it...the call to mmap is just plain over the linux x86 limit.
  e> However, the IBM one is more mysterious...it seems to be just not
  e> mmaping the right spot; the last mmap just hangs (and it's not trying
  e> to mmap more than the limit)...it just doesn't mmap a whole gigabyte
  e> of process address space from the end of its binary at 0x0804d000 to
  e> 0x4000000.

  e> Does anyone have any idea how to fix this?  Would it be a big job to
  e> fix it in the JVM?

  e> Thanks,
  e> eric.

  e> -- 
  e>   _____  _  
  ____> (_)     http://ir.iit.edu/~ej 
  _> | |     Research Assistant 
  >> |___ | |     Information Retrieval Laboratory 
  >> ______/ |     Illinois Institute of Technology 
  >> __/ 


  e> ----------------------------------------------------------------------
  e> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
  e> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to