pastebin

Paste Search Dynamic
Recent pastes
[android-building] java vm out
  1.  
  2. [warning][os,thread] Failed to start thread - pthread_create failed (EAGAIN) for attributes: stacksize: 1024k, guardsize: 0k, detached.
  3. Error occurred during initialization of VM
  4. java.lang.OutOfMemoryError: unable to create native thread: possibly out of memory or process/resource limits reached
  5. [ 90% 26803/29520] //hardware/interfaces/contexthub/1.0:android.hardware.contexthub-V1.0-java javac [common]
  6. FAILED: out/soong/.intermediates/hardware/interfaces/contexthub/1.0/android.hardware.contexthub-V1.0-java/android_common/javac/android.hardware.contexthub-V1.0-java.jar
  7. rm -rf "out/soong/.intermediates/hardware/interfaces/contexthub/1.0/android.hardware.contexthub-V1.0-java/android_common/javac/classes" "out/soong/.intermediates/hardware/interfaces/contexthub/1.0/android.hardware.contexthub-V1.0-java/android_common/javac/anno" "out/soong/.intermediates/hardware/interfaces/contexthub/1.0/android.hardware.contexthub-V1.0-java/android_common/javac/srcjars" && mkdir -p "out/soong/.intermediates/hardware/interfaces/contexthub/1.0/android.hardware.contexthub-V1.0-java/android_common/javac/classes" "out/soong/.intermediates/hardware/interfaces/contexthub/1.0/android.hardware.contexthub-V1.0-java/android_common/javac/anno" "out/soong/.intermediates/hardware/interfaces/contexthub/1.0/android.hardware.contexthub-V1.0-java/android_common/javac/srcjars" && out/soong/host/linux-x86/bin/zipsync -d out/soong/.intermediates/hardware/interfaces/contexthub/1.0/android.hardware.contexthub-V1.0-java/android_common/javac/srcjars -l out/soong/.intermediates/hardware/interfaces/contexthub/1.0/android.hardware.contexthub-V1.0-java/android_common/javac/srcjars/list -f "*.java" out/soong/.intermediates/hardware/interfaces/contexthub/1.0/android.hardware.contexthub-V1.0-java_gen_java/gen/srcs.srcjar && (if [ -s out/soong/.intermediates/hardware/interfaces/contexthub/1.0/android.hardware.contexthub-V1.0-java/android_common/javac/srcjars/list ] || [ -s out/soong/.intermediates/hardware/interfaces/contexthub/1.0/android.hardware.contexthub-V1.0-java/android_common/javac/android.hardware.contexthub-V1.0-java.jar.rsp ] ; then out/soong/host/linux-x86/bin/soong_javac_wrapper prebuilts/jdk/jdk9/linux-x86/bin/javac -J-Xmx2048M -Xmaxerrs 9999999 -encoding UTF-8 -sourcepath "" -g -XDskipDuplicateBridges=true -XDstringConcat=inline  -proc:none  -bootclasspath out/soong/.intermediates/libcore/core.current.stubs/android_common/turbine-combined/core.current.stubs.jar:out/soong/.intermediates/libcore/core-lambda-stubs/android_common/turbine-combined/core-lambda-stubs.jar -classpath out/soong/.intermediates/frameworks/base/hwbinder.stubs/android_common/turbine-combined/hwbinder.stubs.jar:out/soong/.intermediates/system/libhidl/transport/base/1.0/android.hidl.base-V1.0-java/android_common/turbine-combined/android.hidl.base-V1.0-java.jar -source 1.8 -target 1.8 -d out/soong/.intermediates/hardware/interfaces/contexthub/1.0/android.hardware.contexthub-V1.0-java/android_common/javac/classes -s out/soong/.intermediates/hardware/interfaces/contexthub/1.0/android.hardware.contexthub-V1.0-java/android_common/javac/anno @out/soong/.intermediates/hardware/interfaces/contexthub/1.0/android.hardware.contexthub-V1.0-java/android_common/javac/android.hardware.contexthub-V1.0-java.jar.rsp @out/soong/.intermediates/hardware/interfaces/contexthub/1.0/android.hardware.contexthub-V1.0-java/android_common/javac/srcjars/list ; fi ) && out/soong/host/linux-x86/bin/soong_zip -jar -o out/soong/.intermediates/hardware/interfaces/contexthub/1.0/android.hardware.contexthub-V1.0-java/android_common/javac/android.hardware.contexthub-V1.0-java.jar -C out/soong/.intermediates/hardware/interfaces/contexthub/1.0/android.hardware.contexthub-V1.0-java/android_common/javac/classes -D out/soong/.intermediates/hardware/interfaces/contexthub/1.0/android.hardware.contexthub-V1.0-java/android_common/javac/classes && rm -rf "out/soong/.intermediates/hardware/interfaces/contexthub/1.0/android.hardware.contexthub-V1.0-java/android_common/javac/srcjars"
  8. [0.585s][warning][os,thread] Failed to start thread - pthread_create failed (EAGAIN) for attributes: stacksize: 1024k, guardsize: 0k, detached.
  9. Error occurred during initialization of VM
  10. java.lang.OutOfMemoryError: unable to create native thread: possibly out of memory or process/resource limits reached
  11.  
  12.  
  13. please help me,tks
  14.  
  15. the memery is 500G :
  16.  
  17. free -g :
  18.  total        used        free      shared  buff/cache   available
  19. Mem:            503           2         388           0         112         499
  20. Swap:            46           0          46
  21.  
  22. uname -r :
  23. 4.4.0-131-generic
  24.  
  25. ulimit  -a :
  26. core file size          (blocks, -c) 0
  27. data seg size           (kbytes, -d) unlimited
  28. scheduling priority             (-e) 0
  29. file size               (blocks, -f) unlimited
  30. pending signals                 (-i) 2062255
  31. max locked memory       (kbytes, -l) 64
  32. max memory size         (kbytes, -m) unlimited
  33. open files                      (-n) 65535
  34. pipe size            (512 bytes, -p) 8
  35. POSIX message queues     (bytes, -q) 819200
  36. real-time priority              (-r) 0
  37. stack size              (kbytes, -s) 102400
  38. cpu time               (seconds, -t) unlimited
  39. max user processes              (-u) 2062255
  40. virtual memory          (kbytes, -v) unlimited
  41. file locks                      (-x) unlimited
  42.  
  43.  
  44. error pid :
  45. hs_err_pid79581.log :
  46.  
  47.  
  48.  
  49. ---------------  T H R E A D  ---------------
  50.  
  51. Current thread (0x0000000001a0c000):  JavaThread "Unknown thread" [_thread_in_vm, id=79581, stack(0x00007fffe9486000,0x00007fffe9586000)]
  52.  
  53. Stack: [0x00007fffe9486000,0x00007fffe9586000],  sp=0x00007fffe957a6f0,  free space=977k
  54. Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
  55. V  [libjvm.so+0xc5d97c]  VMError::report_and_die(int, char const*, char const*, __va_list_tag*, Thread*, unsigned char*, void*, void*, char const*, int, unsigned long)+0x15c
  56. V  [libjvm.so+0xc5e653]  VMError::report_and_die(Thread*, char const*, int, unsigned long, VMErrorType, char const*, __va_list_tag*)+0x43
  57. V  [libjvm.so+0x639778]  report_vm_out_of_memory(char const*, int, unsigned long, VMErrorType, char const*, ...)+0xe8
  58. V  [libjvm.so+0xc85f69]  AbstractWorkGang::add_workers(unsigned int, bool)+0x209
  59. V  [libjvm.so+0xc86036]  AbstractWorkGang::initialize_workers()+0x96
  60. V  [libjvm.so+0x6f5578]  G1CollectedHeap::G1CollectedHeap(G1CollectorPolicy*)+0x558
  61. V  [libjvm.so+0xc260c4]  Universe::create_heap()+0x1c4
  62. V  [libjvm.so+0xc2648d]  Universe::initialize_heap()+0x39d
  63. V  [libjvm.so+0xc265a3]  universe_init()+0x43
  64. V  [libjvm.so+0x7ae77f]  init_globals()+0x5f
  65. V  [libjvm.so+0xc073d7]  Threads::create_vm(JavaVMInitArgs*, bool*)+0x3a7
  66. V  [libjvm.so+0x7feeac]  JNI_CreateJavaVM+0x5c
  67. C  [libjli.so+0x3934]  JavaMain+0x84
  68. C  [libjli.so+0x8a2a]  ContinueInNewThread0+0x5a
  69. C  [libjli.so+0x5337]  ContinueInNewThread+0x57
  70. C  [libjli.so+0x6378]  JLI_Launch+0xe38
  71. C  [javac+0x9b4]
  72. C  [libc.so.6+0x20830]  __libc_start_main+0xf0
  73.  
  74.  
  75. ---------------  P R O C E S S  ---------------
  76.  
  77. Java Threads: ( => current thread )
  78.  
  79. Other Threads:
  80.  
  81. [error occurred during error reporting (printing all threads), id 0xe0000001]
  82.  
  83. VM state:not at safepoint (not fully initialized)
  84.  
  85. VM Mutex/Monitor currently owned by a thread: None
  86.  
  87.  
  88. [error occurred during error reporting (printing compressed oops mode), id 0xe0000001]
  89.  
  90. GC Heap History (0 events):
  91. No events
  92.  
  93. Deoptimization events (0 events):
  94. No events
  95.  
  96. Classes redefined (0 events):
  97. No events
  98.  
  99. Internal exceptions (0 events):
  100. No events
  101.  
  102. Events (0 events):
  103. No events
  104.  
  105. VM Arguments:
  106. jvm_args: -Dapplication.home=/home/xxx/hione_java/prebuilts/jdk/jdk9/linux-x86 --add-modules=ALL-DEFAULT -Xms8m -Xmx2048M -Djdk.module.main=jdk.compiler
  107. java_command: jdk.compiler/com.sun.tools.javac.Main -Xmaxerrs 9999999 -encoding UTF-8 -sourcepath  -g -XDskipDuplicateBridges=true -XDstringConcat=inline -proc:none -bootclasspath out/soong
  108. /.intermediates/libcore/mmodules/core_platform_api/core.platform.api.stubs/android_common/turbine-combined/core.platform.api.stubs.jar:out/soong/.intermediates/libcore/core-lambda-stubs/and
  109. roid_common/turbine-combined/core-lambda-stubs.jar -classpath out/soong/.intermediates/frameworks/base/ext/android_common/turbine-combined/ext.jar:out/soong/.intermediates/frameworks/base/f
  110. ramework/android_common/turbine-jarjar/framework.jar:out/soong/.intermediates/frameworks/base/media/updatable_media_stubs/android_common/turbine-combined/updatable_media_stubs.jar:out/soong
  111. /.intermediates/external/protobuf/libprotobuf-java-micro/android_common/turbine-combined/libprotobuf-java-micro.jar -source 1.8 -target 1.8 -d out/soong/.intermediates/hardware/ril/librilut
  112. ils/sap-api-java-static/android_common/javac/classes -s out/soong/.intermediates/hardware/ril/librilutils/sap-api-java-static/android_common/javac/anno @out/soong/.intermediates/hardware/ri
  113. l/librilutils/sap-api-java-static/android_common/javac/sap-api-java-static.jar.rsp @out/soong/.intermediates/hardware/ril/librilutils/sap-api-java-static/android_common/javac/srcjars/list
  114. java_class_path (initial): <not set>
  115. Launcher Type: SUN_STANDARD
  116.  
  117.  
  118. Logging:
  119. Log output configuration:
  120. #0: stdout all=warning uptime,level,tags
  121. #1: stderr all=off uptime,level,tags
  122.  
  123. Environment Variables:
  124. JAVA_HOME=/home/xxx/hione_java/prebuilts/jdk/jdk9/linux-x86
  125. PATH=/home/xxx/hione_java/prebuilts/jdk/jdk9/linux-x86/bin:/home/xxx/hione_java/prebuilts/jdk/jdk9/linux-x86/bin:/home/xxx/hione_java/out/soong/host/linux-x86/bin:/home/xxx/
  126. hione_java/out/host/linux-x86/bin:/home/xxx/hione_java/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin:/home/xxx/hione_java/prebuilts/gcc/linux-x86/arm/arm-linux-andro
  127. ideabi-4.9/bin:/home/xxx/hione_java/development/scripts:/home/xxx/hione_java/prebuilts/devtools/tools:/home/xxx/hione_java/external/selinux/prebuilts/bin:/home/xxx/hione_jav
  128. a/prebuilts/misc/linux-x86/dtc:/home/xxx/hione_java/prebuilts/misc/linux-x86/libufdt:/home/xxx/hione_java/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin:/home/xxx/hione_java/prebu
  129. ilts/gcc/linux-x86/arm/arm-none-eabi-6.2.1/bin:/home/xxx/hione_java/prebuilts/asuite/acloud/linux-x86:/home/xxx/hione_java/prebuilts/asuite/aidegen/linux-x86:/home/xxx/hione_jav
  130. a/prebuilts/asuite/atest/linux-x86:/home/xxx/bin:/home/xxx/.local/bin:/home/xxx/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:None
  131. :None/bin::
  132. SHELL=/bin/bash
  133.  
  134.  
  135. Signal Handlers:
  136. SIGSEGV: [libjvm.so+0xc5e920], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
  137. SIGBUS: [libjvm.so+0xc5e920], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
  138. SIGFPE: [libjvm.so+0xc5e920], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
  139. SIGPIPE: [libjvm.so+0xa984e0], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
  140. SIGXFSZ: [libjvm.so+0xa984e0], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
  141. SIGILL: [libjvm.so+0xc5e920], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
  142. SIGUSR2: [libjvm.so+0xa983a0], sa_mask[0]=00000000000000000000000000000000, sa_flags=SA_RESTART|SA_SIGINFO
  143. SIGHUP: SIG_DFL, sa_mask[0]=00000000000000000000000000000000, sa_flags=none
  144. SIGINT: SIG_DFL, sa_mask[0]=00000000000000000000000000000000, sa_flags=none
  145. SIGTERM: SIG_DFL, sa_mask[0]=00000000000000000000000000000000, sa_flags=none
  146. SIGQUIT: SIG_DFL, sa_mask[0]=00000000000000000000000000000000, sa_flags=none
  147.  
  148.  
  149. ---------------  S Y S T E M  ---------------
  150.  
  151. OS:DISTRIB_ID=Ubuntu
  152. DISTRIB_RELEASE=16.04
  153. DISTRIB_CODENAME=xenial
  154. DISTRIB_DESCRIPTION="Ubuntu 16.04.5 LTS"
  155. uname:Linux 4.4.0-131-generic #157-Ubuntu SMP Thu Jul 12 15:51:36 UTC 2018 x86_64
  156. libc:glibc 2.23 NPTL 2.23
  157. rlimit: STACK 16384k, CORE 0k, NPROC infinity, NOFILE 1048576, AS infinity
  158. load average:1.65 12.57 19.96
  159.  
  160. /proc/meminfo:
  161. MemTotal:       527979248 kB
  162. MemFree:        393526888 kB
  163. MemAvailable:   521512832 kB
  164. Buffers:         2808744 kB
  165. Cached:         121445536 kB
  166. SwapCached:            0 kB
  167. Active:         93355136 kB
  168. Inactive:       34175464 kB
  169. Active(anon):    3279544 kB
  170. Inactive(anon):    22512 kB
  171. Active(file):   90075592 kB
  172. Inactive(file): 34152952 kB
  173. Unevictable:        4136 kB
  174. Mlocked:            4136 kB
  175. SwapTotal:      48828412 kB
  176. SwapFree:       48828412 kB
  177. Dirty:             52972 kB
  178. Writeback:             0 kB
  179. AnonPages:       3236204 kB
  180. Mapped:           121656 kB
  181. Shmem:             23460 kB
  182. Slab:            5441964 kB
  183. SReclaimable:    5157688 kB
  184. SUnreclaim:       284276 kB
  185. KernelStack:      128272 kB
  186. PageTables:        91132 kB
  187. NFS_Unstable:          0 kB
  188. Bounce:                0 kB
  189. WritebackTmp:          0 kB
  190. CommitLimit:    312818036 kB
  191. Committed_AS:   51082884 kB
  192. VmallocTotal:   34359738367 kB
  193. VmallocUsed:           0 kB
  194. VmallocChunk:          0 kB
  195. HardwareCorrupted:     0 kB
  196. AnonHugePages:      8192 kB
  197. CmaTotal:              0 kB
  198. CmaFree:               0 kB
  199. HugePages_Total:       0
  200. HugePages_Free:        0
  201. HugePages_Rsvd:        0
  202. HugePages_Surp:        0
  203. Hugepagesize:       2048 kB
  204. DirectMap4k:      221056 kB
  205. DirectMap2M:     4610048 kB
  206. DirectMap1G:    533725184 kB
  207.  
  208.  
  209.  
  210.  
  211. CPU:total 88 (initial active 88) (22 cores per cpu, 2 threads per core) family 6 model 79 stepping 1, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, avx2, aes, c
  212. lmul, erms, rtm, 3dnowpref, lzcnt, ht, tsc, tscinvbit, bmi1, bmi2, adx, fma
  213. CPU Model and flags from /proc/cpuinfo:
  214. model name      : Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz
  215. flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perf
  216. mon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc
  217. _deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch epb invpcid_single intel_pt ibrs ibpb stibp kaiser tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx
  218. 2 smep bmi2 erms invpcid rtm cqm rdseed adx smap xsaveopt cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm arat pln pts
  219.  
  220. Memory: 4k page, physical 527979248k(393536968k free), swap 48828412k(48828412k free)
  221.  
  222. vm_info: OpenJDK 64-Bit Server VM (9+181-android4685155) for linux-amd64 JRE (9+181-android4685155), built on Mar 28 2018 20:02:59 by "androidbuild" with gcc 4.8
Parsed in 0.035 seconds