32-bit or 64-bit application on a 64-bit OS?

We are developing a swing application written in Java, which requires only about 128 MB of memory, and in the near future I do not see that much more memory will be required, for example, 4 GB. Previously, we always provide 3 different editions, one for 32-bit Windows, one for 32-bit Linux, and another for 64-bit Linux, with an installer that includes JRE. The 64-bit version was not used by anyone else a couple of weeks ago, and an OutOfMemoryException was posted because the application consumes 40-50% more memory than the 32-bit version.

My question is, do we really need to provide a 64-bit version for 64-bit Linux if the application never needs to use more than 4 GB of memory? We had a quick test that showed that the 32-bit version also works on 64-bit Linux. But I'm not sure what the cons could be, which we would have, for example. performance and / or compatibility issues?

+5
source share
4 answers
+2
source

If your application does not provide improvements for 64-bit operating systems and is compatible with your 32-bit versions, I do not see an immediate need to provide it.

, x64, , 64- . , . , , 32- VPN-.

64- , , , .

+3

32- JVM 1,2-1,5 .

, 64- JVM, -XX:+UseCompressedOops, 64- JVM 32- , 32 .

+2

, 64- 64- Linux, 4 ?

, 64- /JVM . , , ( ) () .

(, 4 . 32- - .)

64- , JVM, . (, , , . JRE , , JVM...)

+1

All Articles