Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / January 2007

Tip: Looking for answers? Try searching our database.

64 bit needs more memory than 32 bit

Thread view: 
daniel.shaya@gmail.com - 24 Jan 2007 16:52 GMT
It is clear from writing a simple program that creates Strings, that
almost double the amount of memory is necessary when running on a 64
bit jvm (I tried this on windows).

Is there any way to reduce the amount of memory (a jvm setting or
something) - or is this just the penalty for running on 64bit?

Thanks in advance.

Daniel
Tom Hawtin - 24 Jan 2007 19:43 GMT
> It is clear from writing a simple program that creates Strings, that
> almost double the amount of memory is necessary when running on a 64
> bit jvm (I tried this on windows).
>
> Is there any way to reduce the amount of memory (a jvm setting or
> something) - or is this just the penalty for running on 64bit?

There are two issues here.

Firstly, if you have 64-bit addresses, then they are going to take up
twice as much memory as 32-bit addresses. AIUI, on non-x86 the extra
memory bandwidth can cause a slowdown of around 10-15% (AMD64 is more
than compensated by not sticking too closely to the x86 design).

Secondly, IIRC, client HotSpot does not run on AMD64 (or "EM64-T").
Server HotSpot uses more memory.

Tom Hawtin


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.