This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Support for more than 2GB of memory (via the /3GB boot.ini flag) in 32 bit Java 7?

 
Nick Lentz
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was wondering if the 32 bit version Java SE 7 had support for allocating more than 2GB of memory assuming the /3GB boot.ini flag is used. In other words, does Java SE 7 have IMAGE_FILE_LARGE_ADDRESS_AWARE set? On Oracle's site it says that as of Java SE 6 it is not supported but nothing about 7.
 
Martin Vajsar
Sheriff
Pie
Posts: 3747
62
Chrome Netbeans IDE Oracle
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch, Nick!

It looks like the dumpbin utility from MS Windows SDK should be able to display it (source - I guess the "Application can handle large (>2GB) addresses" line in the output indicates the IMAGE_FILE_LARGE_ADDRESS_AWARE flag is set). However, that would assume you have access to the SDK. There might be other tools that would display information from the EXE header, I've found this tool (paid, but has a trial period) that might perhaps be able to do it (I didn't try myself).

I would doubt it, though. It's quite nonstandard thing, and given that you can install 64-bit OS and use 64-bit Java instead, I'd guess it would have very low priority to be implemented.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic