• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

About BingMemory from Terracotta

 
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Folks,

I have an stand alone application.

It hangs at some points or becomes very slow when I do certain operations.

When I see the stack trace I came to know that Garbage collection is taking lots of time.

My system RAM is 3 GB.

I couldn't allocate more than 1.5 gb to JVM. If I do allocate my app is even not loading. Maybe because other applications are also consuming some memory.

So while looking for the solution I came to know about Bigmemory( EhCache) from Terracotta.

How good it can be helpful for me?

Can you please advice

Regards,
Ramesh S
 
Sheriff
Posts: 22784
131
Eclipse IDE Spring VI Editor Chrome Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Ramesh Sunkara wrote:I couldn't allocate more than 1.5 gb to JVM. If I do allocate my app is even not loading. Maybe because other applications are also consuming some memory.


It's because Windows doesn't allow any 32-bit program to use more than 1.5GB of memory. The only way to get a "normal" JVM to run with more than 1.5GB is to run a 64-bit JVM on a 64-bit Windows. If you can't then you're limited to 3rd party systems like the one you mentioned.
 
Power corrupts. Absolute power xxxxxxxxxxxxxxxx is kinda neat.
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic