A memory region where objects and the like are allocated dynamically.
A memory region allocated dynamically at runtime, whose objects' lifecycles are managed by garbage collection. Unlike the stack, many languages let you set an explicit upper size limit (such as the JVM heap size in Java), and it can be the source of an OutOfMemoryError when a large number of objects are created.
© 2026 ITBGM