Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7084339
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T07:17:21+00:00 2026-05-28T07:17:21+00:00

How much data is too much for on-heap cache like ehcache? I’m getting a

  • 0

How much data is too much for on-heap cache like ehcache?

I’m getting a 24GB RAM server. I’ll probably start off devoting 2-4 GB for caching but may end up devoting 20GB or so to cache. At what point should I worry that GC for on-heap cache will take too long?

By the way, is DirectMemory the only open source off-heap cache available? Is it ready for prime time?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T07:17:21+00:00Added an answer on May 28, 2026 at 7:17 am

    Depends on your JVM and especially the used GC. Older GCs especially were not really capable of handling really large heaps, but there’s been an increasing effort to fix that.

    Azul systems for example sells hardware with hundreds of GB of heap without problems (ie gc pauses in the ms not half minutes) thanks to their special GC, so it’s no limitation of Java per se. No idea how good hotspot/IBM have got over time though. But then a 24gb heap isn’t that large anyhow – G1 should probably do a good enough job there anyhow.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'd like to restrict child processes from writing too much data or taking up
I am trying to call a webservice that return too much data just to
I have Microsoft Access database (.mdb) that contains too much data. When i delete
in my viewDidLoad, there is too much data, so what should I do so
ATable.Dump() in linqpad returns the whole ATable. However, ATable.Single().MassiveColumn contains too much data and
I have too many columns in my table and too much data too. For
How much data should be in a table so that reading is optimal? Assuming
Is there any limit on how much data can be stored using GM_setValue ?
for a FILE* stream, if I read as much data as possible, feof(stream) returns
I just finished transferring as much link-structure data concerning wikipedia (English) as I could.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.