Get Started with Zing® Elastic Heap Feature Preview

Azul Zing® introduces a new Elastic Heap feature (aka Best Effort Elasticity or BEE) that allows you to:

  • skip specifying the -Xmx memory parameter when launching your Java virtual machine
  • keep -Xmx low but make sure that your Java virtual machine can handle peak loads that require a higher amount of memory
  • efficiently share server memory between multiple JVMs and non-Java native applications

The Elastic Heap feature satisfies the above scenarios by providing flexibility to borrow memory above the value specified by -Xmx from a common memory allocation pool without an impact on your system performance. This alleviates the need to configure each virtual machine with a large amount of memory space thereby reducing the total RAM requirement. The borrowed memory is returned as soon as the garbage collector detects that the memory pressure is back to normal, letting other virtual machines on the same operating system instance access the memory.

Enabling Elastic Heap

To enable the Elastic Heap feature, use the following option:

-XX:+BestEffortElasticity

Tips

  • To specify an initial guaranteed heap, use -Xms and add -XX:+BestEffortElasticity.
  • To limit memory usage ever consumed by Zing virtual machine heap, set the desired value inside -XX:JavaMemMax.

Note: Our software distributions are signed by an OpenPGP key when appropriate. To verify your download, see Product Signing Keys (OpenPGP) for details.

If you encounter any issues, review the Zing Troubleshooting Guide or visit the Zing Community Forum.

Are you an Open Source developer? Send an email to our Zing Open Source program. Qualified program participants receive one-year Zing renewable keys.

What’s New?

See Also:


© Azul Systems, Inc. 2018 All rights reserved.