Critical.
Authoritative.
Strategic.
Subscribe to CIO Magazine »

Java garbage collection issue makes the rounds

Tackling 'universal problem,' Terracotta says BigMemory module helps improve apps performance

Tackling memory limitations imposed on Java applications, Terracotta on Tuesday will offer what it describes as a breakthrough in solving the "universal problem" of Java garbage collection.

The company will release a beta version of BigMemory for Enterprise Ehcache, an add-in module to the open source Ehcache Java caching library now owned by Terracotta. Compatible with popular Java Virtual Machines, BigMemory provides an off-heap cache to free Java applications from memory and performance constraints of garbage collection, thus providing a large memory footprint for Java applications, Terracotta said. Garbage collection is bypassed via Terracotta's technology.

[ The annual JavaOne technical conference is being held later this month, sans Google. | Keep up with the latest Java developments with the JavaWorld Enterprise Java newsletter. ]

Garbage collection provides Java memory management, reclaiming objects no longer used by a program. But Terracotta describes garbage collection as the "Achilles' heel" of Java applications, impacting performance of applications and limiting access to data.

"Java is kind of stuck in the small memory world because of Java garbage collection. People typically run with small heaps [of 2GB to 4GB]," said Mike Allen, senior director of product management at Terracotta.

Benefits of BigMemory include:

  • Increasing usable memory, enabling applications to easily cache 64GB or more of data in an off-heap store not subject to garbage collection. Application speed is increased by enabling applications to run on fewer JVMs with bigger caches.
  • Provision of performance and predictability for service-level agreements, via improved application throughput.
  • Elimination of tuning and inefficient workarounds that try to optimize around garbage collection.

An industry analyst, though, was not sold on Terracotta's solution, suggesting Java shops already have developed work-arounds to Java memory problems.

Java memory limitations and garbage collection problems "are long-term issues and Java shops have learned to work around them using manual testing and tuning techniques," said Matthew Aslett, senior analyst for enterprise software at the 451 Group. "While there will be some that will jump at the chance of an alternative, others are bound to be skeptical and may prefer to stick with their own work-arounds, at least until Terracotta can deliver real-world performance figures that demonstrate its claims to deliver predictable latency times." 

BigMemory for Enterprise Ehcache will be generally released in October.

Another vendor, Azul Systems, also attempts to solve the issue with Java performance via the company's Managed Runtime Initiative, which is intended to improve execution of managed runtimes via enhanced interfaces and functionality across components of a systems stack, such as the managed runtime, OS kernel, and hypervisor. Azul's Zing software, billed as an elastic runtime platform for Java applications, includes open source components of the initiative.

But Azul, Allen said, offers an "intrusive solution."

"They're trying to solve Java garbage collection using one approach. We're looking at it in a very different way," he said.

Join the CIO Australia group on LinkedIn. The group is open to CIOs, IT Directors, COOs, CTOs and senior IT managers.

More about: Google, Oracle, Provision
References show all

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
Users posting comments agree to the CIO comments policy.
Login or register to link comments to your user profile, or you may also post a comment without being logged in.
Related Coverage
Related Whitepapers
Latest Stories
Community Comments
Tags: application development, Developer World, Google, Java, open source, software
Latest Blog Posts
Whitepapers
  • Protecting Generation Web
    From data privacy to personal safety issues, cyber-bullying, inappropriate content and malware, schools are facing an increasingly difficult task when it comes to allowing young people to spread their online wings without compromising their safety and personal development. The reality that most schools are catering to the needs of mixed age groups and abilities, and it’s easy to understand why a simple stop and block approach won’t work. Learning environments are, by nature, flexible. It stands to reason that the IT resources used in them should be flexible too. Read on.
    Learn more »
  • Developing an Information Strategy - Strategize, Align, Govern, Execute, and Optimize
    An information strategy defines how a company will use the data it collects to achieve a competitive advantage. It is a comprehensive, constantly evolving plan that encompasses five distinct actions. In this white paper we explore how these five vital actions, as well as the technologies that enable and support them, can help organizations develop an effective and broad-reaching information strategy that drives positive change.
    Learn more »
  • Pathways Business Brochure 2012
    Tailored learning and development program for organisations looking to build business acumen within their Key ICT executive. The course curriculum is designed in conjunction with the specific requirements the enrolling organisation.
    Learn more »
All whitepapers
rhs_login_lockGet exclusive access to Invitation only events CIO, reports & analysis.
Recent comments