The moose likes Java in General and the fly likes About BingMemory from Terracotta Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "About BingMemory from Terracotta" Watch "About BingMemory from Terracotta" New topic
Author

About BingMemory from Terracotta

Ramesh Sunkara
Ranch Hand

Joined: Mar 01, 2010
Posts: 78
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
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19216

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.


SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions How To Answer Questions
 
I agree. Here's the link: http://zeroturnaround.com/jrebel/download
 
subject: About BingMemory from Terracotta
 
Similar Threads
Sharing objects across a Tomcat cluster
Spring and Quartz - can't update Triggers in database
Advantages of Scala actors compared to Java's message passing solutions
Assigning/allocating memory issues
GC Overhead limit exceeded error when reading a text file