Ibrahim,

>  The current values on our system are:
> -Xms512   -Xmx1024
> 
> so if I wished to increase the heapsize, can you give an example what
> the new figures would be?

You really need to do more research on your own:

-Xms = set initial Java heap size
-Xmx = set maximum Java heap size

If you are currently allocating 1GB (-Xmx1024), then you probably want
to set it to something /bigger/ than 1GB. Perhaps 1.5GB:

-Xmx1536

Upon the recommendation of another poster, you might want to set the
initial and the maximum to the same thing (that will allocate the entire
Java heap at once, instead of forcing the memory manager to grow the
heap during runtime):

-Xms1536 -Xmx1536

It's up to you to decide what your heap size should be. You need to
understand the operation and needs of your application, as well as
pattern of usage by your users to choose a good heap size. You can
certainly allocate a HUGE heap and cross your fingers, but that is not
always a good strategy -- especially when you are limited by physical
RAM as well as the other processes running on your server.

Hope that helps,
-chris


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to