View RSS Feed

Advanced Java

Advanced Java programming.

  1. Understanding Java Memory Settings

    by , 02-18-2012 at 04:28 PM
    -Xmx & -Xms parameters set memory. Here discussion would be done regarding such parameters that why they are used to set memory.

    JVM i.e. Java Virtual Machine is produced in system memory, when Java starts. Execution as well as complete process of Java program occurs in JVM. Java applications have 64MB memory, by default.

    In JVM, Xms is minimum heap size. If high sized initial memory is set, this might help a lot. Like,

    • GC would be made to work
    Tags: java memory Add / Edit Tags