Home > Software engineering >  About 32 bit application on a 64 - bit system under the available memory space problem?
About 32 bit application on a 64 - bit system under the available memory space problem?

Time:09-15

Recently in the use of the IDEA in JavaEE project, tomcat and JDK USES the 32-bit start debugging times wrong, out of memory, but my machine has 8 gb of memory, with less than 4 g, win7X64 system, then feel 32-bit tomcat and JDK cannot use more than 4 g of memory address, so for a 64 - bit tomcat and OK after the JDK,
Due to the operating system memory management knowledge is not very deeply, master come in, please solve,

Whether 32-bit applications can only use an address the following memory, if this part of the memory occupied by other processes will not be able to apply to a higher address space, the value is how much? There is a 32-bit application access to the virtual memory is also have the same problem?

CodePudding user response:

32 also want to use more than 4 g of memory??????

CodePudding user response:

AWE (Address Windowing Extensions)
https://docs.microsoft.com/en-us/previous-versions/sql/sql-server-2008-r2/ms189334 (105) v=SQL.

CodePudding user response:

32-bit programs addressing capability is 2 ^ 32, 4 g, for 32-bit programs can only apply to the 4 g of memory

CodePudding user response:

I think should be the problem of tomcat Settings, the Java virtual machine has its own gc policy, in the configuration tomcat, weblogic middleware, such as the need to specify some threshold tell the virtual machine when the recovery of memory, you can see the log tomcat newspaper to judge whether the mistake is more than 4 g 32 64 problem

CodePudding user response:

That, for example, could it be that just boot when I use a 32-bit application is possible, but when I run a large program, to open other 32-bit application is alright? As if also hasn't released any questions?

CodePudding user response:

32-bit logical addresses one of the biggest access range is less than 4 g, principle, as long as you use space requires no more than 4 g + data (program), there will be no problem, the hardware system mapping mechanism can be arbitrary memory map for the logic of the linear space

CodePudding user response:

In your application, the virtual machine + support + your program + other may have to space requirements, under the 32-bit, total no more than 4 g
  • Related