Dec 29 2011

Beware Of The Heap Size On HotSpot 64-Bit JVM's

Posted by Mike Brunt at 12:35 PM
29 comments
- Categories: Caching | Java-JVM | JRun-J2EE

I have known for some time that on reaching a 32GB sized heap in the 64-bit Hotspot JVM there is a loss of heap storage space.  It turns out that is because of the object pointer size which in JVM's up to 32GB are compressed.  As soon as we hit anything over 32GB that compression ceases and with many objects in the heap that can make a significant difference, as much as a 30% loss of heap space in extreme cases.  The next optimal number after 32GB in order to negate the loss is around 48GB, so it is far better not to go above 32GB unless you go to at least 48GB.

This is important insight is in an excellent presentation given by Attila Szegedi an engineer from Twitter relating to all things JVM located here.  This was pointed out to me by Dan Wilson a great friend and colleague of mine.

 

Comments

Vibram 5 Fingers

Vibram 5 Fingers wrote on 02/12/12 5:10 PM

These matters are usually manufactured in order to reposition this mandible as well as language on the inside the anterior
chrispaul3

chrispaul3 wrote on 04/08/12 11:33 PM

Winter is about over and afore we apperceive it, <a href="http://ebagshack.com/">le longchamp</a> it is already Spring. Aside from the ability that the acclimatize will be warmer during this season, I acclamation Spring because it is so afire with all the flowers blooming again. It will be one admirable and afire site. That is why Spring and Fall are my admired seasons because the ambient is so lively.That is why I am so admiring Connected Champ’s Spring accumulating with its admirable hues and mild tones.<br /><br /><br />
cheap beats

cheap beats wrote on 04/16/12 9:14 AM

Listen to music expectant mother can relieve pressure
Music, now people essential to life, music contains the joys and sorrows of expectant mother and baby can influence the emotional development, therefore, listen to

music, the beneficial prenatal education, to the baby is very good, and still can alleviate the pressure of the expectant mother. The past an unborn baby only required

general mood stable and no selfish motives mother, is now more emphasis on the positive an unborn baby. In many prenatal education method, music prenatal education is

the most common and was considered one of the more effective prenatal education method.
Music prenatal education, and in fact had been used. It can not only promote the development of the baby's body and mind, and still can develop the child's music

talent. No music of the world can only be pale, dull world. Australia a hospital carried an unborn baby tracking test, let 35 women during pregnancy appreciate every

day in the beautiful light music, they have the woman and seven people become musicians, two people to become a good dancer, and the rest are higher than the average

intelligence.
In the appreciation of music prenatal education, still need to add your rich emotional. Poetic anywhere, in the mind of the formation of vividly specific image.
longteng

longteng wrote on 04/22/12 6:56 PM

We all apperceive the cast name from a U.S. <a href=http://onlinebeatsbydreshop.com/>Cheap Monster Beats Headphones</a> central your affiliated States mainly because endure yr, provides rapidly climbed in adjustment to up advancing central accessment as allotment of your U.S. aloof headphone archetypal, it are about traveling to consistently be boundless, address, hip-hop forth with to your actual best arrangement with all the beat absolutely a few acclaimed performers, superstars accept got activated dr. dre headphones commodity his or her characteristic angle.
www.kidsshoppingstore.com

www.kidsshoppingstore.com wrote on 09/25/12 5:21 AM

"Rooty Toot Toot", the name itself suggests that it must be fun to watch the animated story.
www.myluxuryshopping.com

www.myluxuryshopping.com wrote on 09/25/12 5:23 AM

"Rooty Toot Toot", the name itself suggests that it must be fun to watch the animated story.
essay-point.com

essay-point.com wrote on 10/04/12 9:42 PM

Thanks for the info Mike. Wonderful info you shared and I wish every blog worked this hard to provide good content.
pharmacie France

pharmacie France wrote on 11/06/12 4:58 AM

pharmacie France
more here

more here wrote on 11/08/12 8:51 PM

That is an amazing capacity you are talking about and the title heap size is completely understandable now. Thanks to your friend for putting forward this great topic and the way you presented this matter is awesome.
Click here

Click here wrote on 11/11/12 6:47 AM

Many thanks for a wonderful publishing ! My hubby and I doubtlessly took pleasure in browsing this, you’ll certainly be a quality artice writer.I’ll just remember to save your website and can return in the long term. I would like to support that you definitely keep on with your outstanding article writing, have a great evening !
lzy

lzy wrote on 11/11/12 7:54 PM

??????????????
lzy

lzy wrote on 11/11/12 7:54 PM

Luxury watches are fashionable, affordable
vietnamese girls

vietnamese girls wrote on 11/19/12 10:57 PM

This posting is very cool and interesting post.This is a great inspiring article.I am very much pleased with your good work.You put really very helpful information in this site.
dissertation-writing-help.org

dissertation-writing-help.org wrote on 12/07/12 6:05 PM

I never thought that this is possible to happen. Thank you for sharing this wonderful post.
financecourses

financecourses wrote on 01/04/13 3:34 AM

I have read your post and I am waiting for another interesting post. Please update useful information on your blog.
ask credit solutions

ask credit solutions wrote on 01/04/13 3:37 AM

A member of the Democratic Party, he has been the Senate Majority Leader since January 2007, having previously served as Minority Leader and Minority and Majority Whip.
air line credit cards 101

air line credit cards 101 wrote on 01/04/13 3:38 AM

You done certain good points there. I did a search on the subject and found nearly all persons will agree with your blog.
best business loan rates

best business loan rates wrote on 01/04/13 3:39 AM

Another excellent example of innovation, I am happy to locate it. There are so many developers working on this segment but this is one of the best innovative idea ever. Thanks for sharing it here.
institute health

institute health wrote on 01/15/13 2:15 AM

How can we avoid Fibromyalgia? It is very painful diseases.
journal health

journal health wrote on 01/15/13 2:16 AM

Can you share some more detail of chronic pain? I really like to see.
digital health

digital health wrote on 01/15/13 2:16 AM

I have read your post and I am waiting for another interesting post. Please update useful information on your blog.
Asheville Medical Aesthetics

Asheville Medical Aesthetics wrote on 01/31/13 10:18 PM

Now of course i do realize that things might have been well and so good. Thanks much for letting us know about this and we'll be aware of it.
420 dating

420 dating wrote on 03/11/13 5:24 AM

have you ever tried compressing huge size files? It may sometimes make a difference in the storage space. JVM Tuning is a necessary need for the entire JVM’s. If it is not tuned properly then JVM shows the java.lang.OutOfMemoryError, which is not easy to resolve.
afashion-dresses

afashion-dresses wrote on 04/13/13 4:40 AM

I would like to say thank for sharing this great article. We can’t get this kind of information from
thecostumesmart

thecostumesmart wrote on 04/15/13 11:07 PM

Many outlet stores end up with irregulars. Try everything on to ensure proper fit and examine carefully for damages.
toolkit

toolkit wrote on 04/18/13 4:31 PM

I really appreciate the kind of topics you post here. Thanks for sharing information that is actually helpful.
www.newscasinonew.com

www.newscasinonew.com wrote on 04/22/13 4:40 AM

Thanks just browsing for related blog posts for my project research and I happened to discover yours. I see something truly interesting
jordans sport shoes for sale

jordans sport shoes for sale wrote on 04/25/13 12:35 AM

There are many elderly people feel comfortable to wear soft sole. But if too soft to wear foot like walking directly on the ground, heel cushioning, and too hard if they can not play an adequate role. Related physician, the old man's shoes should be slightly with 1.5 cm to 2 cm is appropriate, the sole moderate hardness, at the same time want to increase an insole, anti sweating, athlete's foot, and second, to prevent foot wear.Select basketball shoes first according to their specific circumstances. Jordan sports designer said, basketball player strength-based.DEMI

Write your comment



(it will not be displayed)



Leave this field empty: