[devel] [#73138] FAILED runawfe.git=runawfe-3.4.2_11
Led
ledest на gmail.com
Пт Июн 8 02:56:09 MSK 2012
On Friday 08 June 2012 01:29:07 Dmitry V. Levin wrote:
> On Thu, Jun 07, 2012 at 11:11:39PM +0400, Girar Builder robot wrote:
> > http://git.altlinux.org/tasks/73138/logs/events.1.1.log
> >
> > 2012-Jun-07 22:55:24 :: task #73138 for sisyphus started by kana:
> > #100 build runawfe-3.4.2_11 from /people/kana/packages/runawfe.git
> > 2012-Jun-07 22:55:49 :: cloned Sisyphus
> > 2012-Jun-07 22:55:50 :: [i586] #100 runawfe.git runawfe-3.4.2_11: build
> > start 2012-Jun-07 22:55:50 :: [x86_64] #100 runawfe.git runawfe-3.4.2_11:
> > build start [java] Error occurred during initialization of VM
> > [java] Error: Could not create the Java Virtual Machine.Could not
> > reserve enough space for object heap [java]
> > [java] Error: A fatal exception has occurred. Program will exit.
> > BUILD FAILED
> > /usr/src/RPM/BUILD/runawfe-3.4.2.1/gpd/build.xml:12: Java returned: 1
> > 2012-Jun-07 19:01:18 :: [x86_64] runawfe.git runawfe-3.4.2_11: remote:
> > build failed 2012-Jun-07 23:01:18 :: [x86_64] #100 runawfe.git
> > runawfe-3.4.2_11: build FAILED 2012-Jun-07 23:11:30 :: [i586] #100
> > runawfe.git runawfe-3.4.2_11: build OK 2012-Jun-07 23:01:18 :: [x86_64]
> > build FAILED
> > 2012-Jun-07 23:11:30 :: task #73138 for sisyphus FAILED
>
> У нас какая-то java странная:
>
> $ strace -femmap -o'|grep ENOMEM'
> /usr/lib/jvm/java-1.6.0-sun-1.6.0.26/jre/bin/java -version 987
> mmap(0x80000000, 32212254720, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = -1 ENOMEM (Cannot
> allocate memory) 987 mmap(NULL, 32212254720, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = -1 ENOMEM (Cannot
> allocate memory) 987 mmap(NULL, 32212254720, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = -1 ENOMEM (Cannot
> allocate memory) 987 mmap(NULL, 32212254720, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = -1 ENOMEM (Cannot
> allocate memory) 987 mmap(NULL, 32212254720, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = -1 ENOMEM (Cannot
> allocate memory) 987 mmap(NULL, 32212254720, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = -1 ENOMEM (Cannot
> allocate memory) 987 mmap(NULL, 32212254720, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = -1 ENOMEM (Cannot
> allocate memory) 987 mmap(NULL, 32212254720, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = -1 ENOMEM (Cannot
> allocate memory) 987 mmap(NULL, 32212254720, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = -1 ENOMEM (Cannot
> allocate memory) 987 mmap(NULL, 32212254720, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = -1 ENOMEM (Cannot
> allocate memory) 987 mmap(NULL, 32212254720, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = -1 ENOMEM (Cannot
> allocate memory) 987 mmap(NULL, 32212320256, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = -1 ENOMEM (Cannot
> allocate memory) Error occurred during initialization of VM
> Could not reserve enough space for object heap
> Could not create the Java virtual machine.
> $ uname -rm
> 3.3.8-std-def-alt1 x86_64
>
> Зачем ей понадобилось 30Gb? Если в /proc/meminfo написано, что есть много
> памяти, это еще не значит, что вся эта память предназначена для jvm.
Она везде такая:) (openjdk - не исключение).
Игнорирует limits, смотрит только на то, что "в /proc/meminfo написано".
Обходится:
export _JAVA_OPTIONS="-Xmx=..."
--
Led
Подробная информация о списке рассылки Devel