lakhaman
lakhaman

Reputation: 125

I have a machine with 8 GB RAM with 32 bit JVM on linux and i want to make JVM to use maximum USE OF RAM

I have a machine with 8 GB RAM with 32 bit JVM on linux and i want to make JVM to use maximum USE OF RAM , I think if i increase Heap size memory then Garbage Collector will become slow. Is there other solution to improve processing speed ?. thanks in advance.

Upvotes: 1

Views: 281

Answers (3)

Subin Sebastian
Subin Sebastian

Reputation: 10997

may be run 2 32 bit Java virtual machines. There is no other way to utilize 8GB, if you cant upgrade to 64 bit.

Upvotes: 1

JustinDanielson
JustinDanielson

Reputation: 3185

Install a 64-bit version of Linux and Java.

If you have a 64-bit processor, you can run a 64bit VirtualBox on a 32bit OS. Source

Upvotes: 1

If it is an Oracle JVM you cannot use all that memory.

Upgrade to a 64 bit JVM suitable for the platform.

Upvotes: 1

Related Questions