Write syntax to set JVM Memory as min-256Mb & max 512Mb?



Write syntax to set JVM Memory as min-256Mb & max 512Mb?..

Answer / Raju Sharma

To set JVM memory as min-256Mb & max 512Mb, use the following command: `java -Xms256M -Xmx512M YourMainClassName`

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Operating Systems General Concepts Interview Questions

Describe horizontal scalability and vertical scalability.

1 Answers   Tech Mahindra,


What is a hard real time OS?

1 Answers   Motorola,


Can a 64 bit run a 32bit program?

1 Answers  


There is some data related to temperatures of different cities. One side(thread), will be updating the values and multiple clients will be reading the values. how do you achieve synchronization?

1 Answers   IMS, Sapient,


what are the softwares helping for auditing poblems?

1 Answers  


What is operating system and examples?

1 Answers  


Is it safe to delete ost file?

1 Answers  


Please describe the different state of a process?

4 Answers  


What are the reasons for process termination?

1 Answers  


what are multi core operating systems?

2 Answers  


What are the typical elements of a process image?

3 Answers   Accenture,


When does page fault error occur?

1 Answers  


Categories