aspose file tools*
The moose likes Features new in Java 7 and the fly likes Support for more than 2GB of memory (via the /3GB boot.ini flag) in 32 bit Java 7? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Features new in Java 7
Bookmark "Support for more than 2GB of memory (via the /3GB boot.ini flag) in 32 bit Java 7?" Watch "Support for more than 2GB of memory (via the /3GB boot.ini flag) in 32 bit Java 7?" New topic
Author

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

Nick Lentz
Greenhorn

Joined: Mar 10, 2014
Posts: 1
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

Joined: Aug 22, 2010
Posts: 3610
    
  60

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.
 
 
subject: Support for more than 2GB of memory (via the /3GB boot.ini flag) in 32 bit Java 7?