Java heap, Java

Source: Internet
Author: User

Java heap, Java

Features:

  • The memory area shared by the thread created when the VM is started. The memory area is allocated to all instance objects and array objects.
  • Main area of GC spam Mobile Phone Manager management, GC heap
  • The capacity can be fixed or dynamically expanded. The maximum size of Xmx-minimum size of Xms and initial size of Xmx is automatically reduced.
  • The memory used does not need to ensure continuity, that is, physical continuity is not required, but logical continuity is required.
  • When the capacity required for allocation exceeds the provided capacity, or the expansion cannot be met, an OutOfMemoryError is thrown.

Java heap divides memory according to the management mode of automatic Memory management system gc. Generally, the generation-based collection algorithm (Eden, From original vor, To original VOR) is used ).

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.