My Java program needs lots of memory to run, the 32-bit version of Java max out at 1.5 GB, my system has 4 GB of RAM, so I decided to run it under the 64-bit version of Java, and yet the JDIC won't work, which affects my program, so I wonder if anyone knows when the 64-bit JDIC will be available ?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
Assuming you are running a 64-bit OS and a 64-bit JVM, you could try the latest version of Java 6u13 as I believe there is improve client side support for 64-bit applications.
Note: I wouldn't suggest you use more than 1/2 to 2/3 of your memory for Java's heap. You may also need more main memory to see a real improvement in the amount of memory you can really use. (As you need to leave memory for the OS, other programs and Java's own shared memory/libraries etc)
回答2:
I only used Desktop (org.jdesktop.jdic.desktop.Desktop) from JDIC and now I can use java.awt.Desktop from Java 6. There's a few differences but essentially they both have the same functionality.