BigMemory Ehcache Addon Dumps Java Garbage Collection

Terracotta has released to beta a new Java addon for the Enterprise version of its Ehcache distributed Java caching software designed to free Java applications from the memory and performance constraints of Garbage Collection (GC).

Dubbed BigMemory, the pure Java addon is compatible with many Java Virtual Machines (JVMs) and provides an off-heap cache that results in "an instant and effortless" large memory footprint for hundreds of thousands of Java applications, explained Terracotta CEO Amit Pandey.

"We literally stumbled across this product," Pandey said "Our servers are written in Java, and our server engineers were working on ways of providing bigger heap sizes. When solved the problem for themselves, we looked at this and said, we're not the only ones with this problem. Is there any way to attach this memory management technique to Ehcache, which tons and tons of people already use? Now, pretty much anyone who uses Ehcache or Hibernate can just flip a switch and get access to BigMemory."

Ehcache is the widely deployed open source Java caching solution Terracotta acquired in 2009. Enterprise production deployments of Ehcache are estimated to be in the hundreds of thousands. It ships as a component in Hibernate ORM, the Spring Framework, Alfresco CMS, and the Liferay portal.

The limit on the size of JVMs imposed by GC has long been a major challenge for Enterprise Java apps. Anne MacFarland, senior contributing analyst at the Clipper Group, called the addon "a step forward in the evolution of Enterprise Java."

San Francisco based Terracotta is the founding company of the open source Terracotta project. Terracotta clusters Java Virtual Machines (JVMs) to create a shared memory pool at the Java application tier, which can be used to share data among servers. This shared memory pool can also be employed to coordinate the work of many JVMs. The company's Java infrastructure solution is a commercial offering based on the open-source project.

BigMemory, which is designed for stand-alone and distributed caches, allows Java applications to "cache 64 GBs or more of data in an off-heap store that's not subject to GC," according to the company. Enabling a larger cache increases app throughput and response times, Pandey claimed.

"If your app was tuned to one-second garbage collection," he explained, "when you turn on BigMemory, you can just keep increasing that memory size and it'll stay below that one-second."

Available in beta today, BigMemory is set for general availability in October. To check out the beta, go here.

About the Author

John K. Waters is the editor in chief of a number of Converge360.com sites, with a focus on high-end development, AI and future tech. He's been writing about cutting-edge technologies and culture of Silicon Valley for more than two decades, and he's written more than a dozen books. He also co-scripted the documentary film Silicon Valley: A 100 Year Renaissance, which aired on PBS.  He can be reached at [email protected].

Featured

  • networked node grid featuring illuminated connectors

    Infrastructure Accounts for More than Half of Worldwide AI Spending

    Gartner forecasts worldwide AI spending will reach $2.67 trillion in 2026, up 49.5% from 2025, with AI infrastructure accounting for nearly $1.5 trillion, or about 56% of the total. For every dollar Gartner expects to be spent on generative AI models, more than $52 will be spent on infrastructure.

  • Abstract data center infrastructure

    Survey: Lack of Specialized Infrastructure Is a Top AI Adoption Challenge

    Enterprise AI projects are running into infrastructure questions as organizations move from planning toward deployment, according to a recent Digital Realty survey.

  • A glowing digital brain with neural connections and light trails

    AI Giants Warn It May Be Time to Slow Down

    For years, leaders in the artificial intelligence industry have warned that increasingly capable AI systems could eventually become dangerous, all the while continuing to race to build them. Now, their sentiments have changed.

  • man viewing holographic display of data and code

    Why Cross-Skilling Is the Smartest Investment a Campus IT Team Can Make

    Higher education IT teams are being asked to keep pace with AI, cloud, and cybersecurity on flat budgets, and hiring a specialist for every new need can no longer keep up. Building adjacent skills across the people already on staff creates more agile, resilient teams that move faster and retain talent without adding headcount. Pluralsight makes the strategy work through skill assessments, tailored learning paths, hands-on labs and sandboxes, and microlearning that fits into the flow of work.