How big heap size can I get? Is there heap size limit?
I need to read into memory huge graph: 25m vertexes and 60m edges.
I had 2GB RAM and can get only 1610M heap size using -Xmx1610m. If I try to get more VM answer: Could not reserve enough space for object heap.
It's quite big difference between physical memory size 2GB and max heap: 1,6GB.
So my question is. If I buy additional 2GB RAM, how big heap can I use?
I work on XP Pro Service Pack 2. JRE 1.5.0._10.
[442 byte] By [
Speedoa] at [2007-11-26 12:47:47]

# 1
> I need to read into memory huge graph: 25m vertexes
> and 60m edges.
> I had 2GB RAM and can get only 1610M heap size using
> -Xmx1610m. If I try to get more VM answer: Could not
> reserve enough space for object heap.
That is a typical limit. Windows is the cause.
>
> It's quite big difference between physical memory
> size 2GB and max heap: 1,6GB.
>
> So my question is. If I buy additional 2GB RAM, how
> big heap can I use?
Probably no more; the limitation is in Windows, not Java. A 64-bit computer, 64-bit os, and 64-bit Java will allow much greater heap size.
>
> I work on XP Pro Service Pack 2. JRE 1.5.0._10.
Search the forums; there is more information available in other posts.