| View previous topic :: View next topic |
| Author |
Message |
Roombor
Joined: 02 Jun 2006 Posts: 111
|
Can you set the heap size in JAVA_OPTS to however much mem you want or is there a limit ?
Ie; xport JAVA_OPTS="-Xmx4096m -Xms4096m" |
| |
|
|
|
|
optomeb
Joined: 19 May 2006 Posts: 113
|
| how much memory do you have? |
| |
|
|
Roombor
Joined: 02 Jun 2006 Posts: 111
|
8 gigs
=) |
| |
|
|
optomeb
Joined: 19 May 2006 Posts: 113
|
| 64 bit system? |
| |
|
|
Roombor
Joined: 02 Jun 2006 Posts: 111
|
| Yes |
| |
|
|
AmeliaR
Joined: 31 May 2006 Posts: 142
|
| 64 it OS? |
| |
|
|
optomeb
Joined: 19 May 2006 Posts: 113
|
| and 64 bit OS? |
| |
|
|
Roombor
Joined: 02 Jun 2006 Posts: 111
|
| Yes |
| |
|
|
optomeb
Joined: 19 May 2006 Posts: 113
|
then it ougth to work...
does your java app really need that much memory? |
| |
|
|
AmeliaR
Joined: 31 May 2006 Posts: 142
|
| Which 64bit OS? |
| |
|
|
kadamat
Joined: 01 Jun 2006 Posts: 88
|
Why do you immediately need a 64bit system to address >4GB of memory?
:-\ |
| |
|
|
|
|
Roombor
Joined: 02 Jun 2006 Posts: 111
|
| Just for my personal knowledge is there a limit if it were 32 bit os ? |
| |
|
|
AmeliaR
Joined: 31 May 2006 Posts: 142
|
| Yes there is |
| |
|
|
optomeb
Joined: 19 May 2006 Posts: 113
|
| kadamat, 32 bit pointers give you access to how much memory? |
| |
|
|
Roombor
Joined: 02 Jun 2006 Posts: 111
|
| 4 gb ? |
| |
|
|
AmeliaR
Joined: 31 May 2006 Posts: 142
|
You can't address more than 3Gig on X86
Infact once you elinate kernel stuff and some other things, it's close to 2gig |
| |
|
|
Roombor
Joined: 02 Jun 2006 Posts: 111
|
| optomeb, no, i'm just trying to tweak things and i was curious |
| |
|
|
kadamat
Joined: 01 Jun 2006 Posts: 88
|
| optomeb, 16bit pointers gave you more than 32K addresses on the old x8086 CPUs. |
| |
|
|
optomeb
Joined: 19 May 2006 Posts: 113
|
| AmeliaR, more than 4 GB actually... and that is not really true either with PAE you can use 64 GB |
| |
|
|
AmeliaR
Joined: 31 May 2006 Posts: 142
|
| Not in one application you can't |
| |
|
|
|