Posted April 1, 201410 yr Hi, when I launch a java command, it gives me an memory allocation error. [rootWEDOCOL01 ~]# cat /proc/version Linux version 2.6.32-431.el6.x86_64 (mockbuild@x86-023.build.eng.bos.redhat.com) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-4) (GCC) ) #1 SMP Sun Nov 10 22:19:54 EST 2013 [rootWEDOCOL01 /]# java -version Java HotSpot 64-Bit Server VM warning: INFO: os::commit_memory(0x0000000758c00000, 176160768, 2097152, 0) failed; error='Cannot allocate memory' (errno=12) Java HotSpot 64-Bit Server VM warning: INFO: os::commit_memory(0x000000060a400000, 350224384, 2097152, 0) failed; error='Cannot allocate memory' (errno=12) Java HotSpot 64-Bit Server VM warning: INFO: os::commit_memory(0x00007fb3e4200000, 266338304, 2097152, 0) failed; error='Cannot allocate memory' (errno=12) java version "1.7.0_45" Java SE Runtime Environment (build 1.7.0_45-b18) Java HotSpot 64-Bit Server VM (build 24.45-b08, mixed mode) however, if you launch the java command, specifying a low heap size, it does not give me error: [rootWEDOCOL01 /]# java -Xmx102M -version java version "1.7.0_45" Java SE Runtime Environment (build 1.7.0_45-b18) Java HotSpot 64-Bit Server VM (build 24.45-b08, mixed mode) but, just get up even slightly, the error returns, even if in reduced form [rootWEDOCOL01 /]# java -Xmx103M -version Java HotSpot 64-Bit Server VM warning: INFO: os::commit_memory(0x00000000f4600000, 23068672, 2097152, 0) failed; error='Cannot allocate memory' (errno=12) java version "1.7.0_45" Java SE Runtime Environment (build 1.7.0_45-b18) Java HotSpot 64-Bit Server VM (build 24.45-b08, mixed mode) could you help me? Thanks! Continue reading...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.