What is JVM Heap Size? How does it affect the performance of the Application?

Showing Answers 1 - 15 of 15 Answers

csm

  • Nov 3rd, 2005
 

it depends on the o.s.

  Was this answer useful?  Yes

  Was this answer useful?  Yes

mandyjoshi

  • Nov 11th, 2005
 

The heap is the runtime data area from which memory for all class instances and arrays is allocated. The heap may be of a fixed size or may be expanded. The heap is created on virtual machine start-up. If you have complicated algorithms or big caching which might create lot of objects in memory you may need bigger heap size.

  Was this answer useful?  Yes

Richa

  • Dec 23rd, 2005
 

hi all

I have a question which is creating proble for me since long time

how can i Unzip a zipped file in my desired location??The problem is I m able to unzip into a folder but my hierarchy of folder is not the same

can u help me plz

thanks and regards

Richa

  Was this answer useful?  Yes

Sam

  • Jan 19th, 2006
 

I agree with your heap size definition.  But what is the way to increase the heap size so that the performance of an application is not affected or can be increased if a programmer face any performance problem

greetz

sam

  Was this answer useful?  Yes

Venkata Ramana Rao

  • Mar 30th, 2006
 

You can increse the heap size byjava -Xms64m -Xmx512m where -Xms specifies the initial Java heap size and -Xmx the maximum Java heap size.CheersKunde

  Was this answer useful?  Yes

subhasish mohanty

  • Jul 5th, 2007
 

Well to unzip a file there is a class called Deflator and to zip a file you can use Inflator. Try this...

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions