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

  • stacks of science worksheets with scientific icons

    Kognity Intros Blended Learning Resources for Science Instruction

    Science education platform Kognity has launched a suite of blended learning resources for its four science courses: Biology, Chemistry, Physics, and Earth & Space Science.

  • Red alert symbols and email icons floating in a dark digital space

    Report: Cyber Attackers Are Fully Embracing AI

    According to Google Cloud's 2026 Cybersecurity Forecast, AI will become standard for both cyber attackers and defenders, with threats expanding to virtualization systems, blockchain networks, and nation-state operations.

  • cloud with binary code and technology imagery

    Hybrid and AI Expansion Outpacing Cloud Security

    A survey from the Cloud Security Alliance and Tenable finds that rapid adoption of hybrid, multi-cloud and AI systems is outpacing the security measures meant to protect them, leaving organizations exposed to preventable breaches and identity-related risks.

  • rear view of students in a classroom

    Edthena Launches AI-Powered Classroom Observation Tool

    Professional learning platform Edthena has introduced Observation Copilot, an AI tool for principals designed to streamline the process of writing up framework-aligned teacher feedback from classroom observation notes.