Skip to content

Instantly share code, notes, and snippets.

@chongkong
Last active June 11, 2018 14:18
Show Gist options
  • Save chongkong/6bba375554e6f199e3d57d03d101e8f2 to your computer and use it in GitHub Desktop.
Save chongkong/6bba375554e6f199e3d57d03d101e8f2 to your computer and use it in GitHub Desktop.
/workspace/sandbox/subm # isolate --dir=/sandbox=/workspace/sandbox --mem=10000000 --run -- /usr/bin/java -Xss16m -Xms16m -Xmx32m /sandbox/subm/Main
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Cannot create GC thread. Out of system resources.
# Can not save log file, dump to screen..
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Cannot create GC thread. Out of system resources.
# Possible reasons:
# The system is out of physical RAM or swap space
# In 32 bit mode, the process size limit was hit
# Possible solutions:
# Reduce memory load on the system
# Increase physical memory or swap space
# Check if swap backing store is full
# Use 64 bit Java on a 64 bit OS
# Decrease Java heap size (-Xmx/-Xms)
# Decrease number of Java threads
# Decrease Java thread stack sizes (-Xss)
# Set larger code cache with -XX:ReservedCodeCacheSize=
# This output file may be truncated or incomplete.
#
# Out of Memory Error (gcTaskThread.cpp:48), pid=2, tid=0x00002ac3b1860b88
#
# JRE version: (8.0_151-b12) (build )
# Java VM: OpenJDK 64-Bit Server VM (25.151-b12 mixed mode linux-amd64 compressed oops)
# Derivative: IcedTea 3.6.0
# Distribution: Custom build (Tue Nov 21 11:22:36 GMT 2017)
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
--------------- T H R E A D ---------------
Current thread (0x000055c4d8165000): JavaThread "Unknown thread" [_thread_in_vm, id=2, stack(0x00007ffd31975000,0x00007ffd32975000)]
Stack: [0x00007ffd31975000,0x00007ffd32975000]
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
Other Threads:
=>0x000055c4d8165000 (exited) JavaThread "Unknown thread" [_thread_in_vm, id=2, stack(0x00007ffd31975000,0x00007ffd32975000)]
VM state:not at safepoint (not fully initialized)
VM Mutex/Monitor currently owned by a thread: None
GC Heap History (0 events):
No events
Deoptimization events (0 events):
No events
Internal exceptions (0 events):
No events
Events (0 events):
No events
Dynamic libraries:
fe000000-feb00000 rw-p 00000000 00:00 0
feb00000-ff580000 ---p 00000000 00:00 0
ff580000-ffa80000 rw-p 00000000 00:00 0
ffa80000-100000000 ---p 00000000 00:00 0
2ac3b15d5000-2ac3b165e000 r-xp 00000000 08:01 1313444 /lib/ld-musl-x86_64.so.1
2ac3b165e000-2ac3b165f000 r--p 00000000 00:00 0
2ac3b165f000-2ac3b166e000 rw-p 00000000 00:00 0
2ac3b166e000-2ac3b1672000 ---p 00000000 00:00 0
2ac3b1672000-2ac3b1676000 rw-p 00000000 00:00 0
2ac3b1676000-2ac3b1678000 ---p 00000000 00:00 0
2ac3b1678000-2ac3b167f000 rw-p 00000000 00:00 0
2ac3b167f000-2ac3b1684000 ---p 00000000 00:00 0
2ac3b185d000-2ac3b185e000 r--p 00088000 08:01 1313444 /lib/ld-musl-x86_64.so.1
2ac3b185e000-2ac3b185f000 rw-p 00089000 08:01 1313444 /lib/ld-musl-x86_64.so.1
2ac3b185f000-2ac3b1862000 rw-p 00000000 00:00 0
2ac3b1862000-2ac3b1a6e000 r-xp 00000000 08:01 1050004 /usr/lib/jvm/java-1.8-openjdk/jre/lib/amd64/jli/libjli.so
2ac3b1a6e000-2ac3b1a6f000 r--p 0000c000 08:01 1050004 /usr/lib/jvm/java-1.8-openjdk/jre/lib/amd64/jli/libjli.so
2ac3b1a6f000-2ac3b1a70000 rw-p 0000d000 08:01 1050004 /usr/lib/jvm/java-1.8-openjdk/jre/lib/amd64/jli/libjli.so
2ac3b1a70000-2ac3b1c85000 r-xp 00000000 08:01 262420 /lib/libz.so.1.2.11
2ac3b1c85000-2ac3b1c86000 r--p 00015000 08:01 262420 /lib/libz.so.1.2.11
2ac3b1c86000-2ac3b1c87000 rw-p 00016000 08:01 262420 /lib/libz.so.1.2.11
2ac3b1c87000-2ac3b26a1000 r-xp 00000000 08:01 1050043 /usr/lib/jvm/java-1.8-openjdk/jre/lib/amd64/server/libjvm.so
2ac3b26a1000-2ac3b2736000 r--p 0081a000 08:01 1050043 /usr/lib/jvm/java-1.8-openjdk/jre/lib/amd64/server/libjvm.so
2ac3b2736000-2ac3b275e000 rw-p 008af000 08:01 1050043 /usr/lib/jvm/java-1.8-openjdk/jre/lib/amd64/server/libjvm.so
2ac3b275e000-2ac3b278e000 rw-p 00000000 00:00 0
2ac3b278e000-2ac3b2ace000 r-xp 00000000 08:01 1050219 /usr/lib/libstdc++.so.6.0.22
2ac3b2ace000-2ac3b2adc000 r--p 00140000 08:01 1050219 /usr/lib/libstdc++.so.6.0.22
2ac3b2adc000-2ac3b2add000 rw-p 0014e000 08:01 1050219 /usr/lib/libstdc++.so.6.0.22
2ac3b2add000-2ac3b2ae0000 rw-p 00000000 00:00 0
2ac3b2ae0000-2ac3b2cf0000 r-xp 00000000 08:01 1050159 /usr/lib/libgcc_s.so.1
2ac3b2cf0000-2ac3b2cf1000 r--p 00010000 08:01 1050159 /usr/lib/libgcc_s.so.1
2ac3b2cf1000-2ac3b2cf2000 rw-p 00011000 08:01 1050159 /usr/lib/libgcc_s.so.1
2ac3b2cf2000-2ac3b2efe000 r-xp 00000000 08:01 1050038 /usr/lib/jvm/java-1.8-openjdk/jre/lib/amd64/libverify.so
2ac3b2efe000-2ac3b2f00000 r--p 0000c000 08:01 1050038 /usr/lib/jvm/java-1.8-openjdk/jre/lib/amd64/libverify.so
2ac3b2f00000-2ac3b2f01000 rw-p 0000e000 08:01 1050038 /usr/lib/jvm/java-1.8-openjdk/jre/lib/amd64/libverify.so
2ac3b2f01000-2ac3b312d000 r-xp 00000000 08:01 1050020 /usr/lib/jvm/java-1.8-openjdk/jre/lib/amd64/libjava.so
2ac3b312d000-2ac3b312e000 r--p 0002c000 08:01 1050020 /usr/lib/jvm/java-1.8-openjdk/jre/lib/amd64/libjava.so
2ac3b312e000-2ac3b312f000 rw-p 0002d000 08:01 1050020 /usr/lib/jvm/java-1.8-openjdk/jre/lib/amd64/libjava.so
2ac3b312f000-2ac3b3130000 rw-p 00000000 00:00 0
2ac3b3130000-2ac3b3337000 r-xp 00000000 08:01 1050039 /usr/lib/jvm/java-1.8-openjdk/jre/lib/amd64/libzip.so
2ac3b3337000-2ac3b3338000 r--p 00007000 08:01 1050039 /usr/lib/jvm/java-1.8-openjdk/jre/lib/amd64/libzip.so
2ac3b3338000-2ac3b3339000 rw-p 00008000 08:01 1050039 /usr/lib/jvm/java-1.8-openjdk/jre/lib/amd64/libzip.so
2ac3b3339000-2ac3b35a9000 rwxp 00000000 00:00 0
2ac3b35a9000-2ac3c2339000 ---p 00000000 00:00 0
2ac3c2339000-2ac3c2343000 rw-p 00000000 00:00 0
2ac3c2343000-2ac3c26f9000 ---p 00000000 00:00 0
55c4d63ab000-55c4d63ac000 r-xp 00000000 08:01 1049990 /usr/lib/jvm/java-1.8-openjdk/jre/bin/java
55c4d65ab000-55c4d65ac000 r--p 00000000 08:01 1049990 /usr/lib/jvm/java-1.8-openjdk/jre/bin/java
55c4d65ac000-55c4d65ad000 rw-p 00001000 08:01 1049990 /usr/lib/jvm/java-1.8-openjdk/jre/bin/java
55c4d814f000-55c4d817e000 rw-p 00000000 00:00 0 [heap]
7ffd31975000-7ffd31978000 ---p 00000000 00:00 0
7ffd31978000-7ffd32975000 rw-p 00000000 00:00 0 [stack]
7ffd329bf000-7ffd329c1000 r--p 00000000 00:00 0 [vvar]
7ffd329c1000-7ffd329c3000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
VM Arguments:
jvm_args: -Xss16m -Xms16m -Xmx32m
java_command: /sandbox/subm/Main
java_class_path (initial): .
Launcher Type: SUN_STANDARD
Environment Variables:
LD_LIBRARY_PATH=/usr/lib/jvm/java-1.8-openjdk/jre/lib/amd64/server:/usr/lib/jvm/java-1.8-openjdk/jre/lib/amd64:/usr/lib/jvm/java-1.8-openjdk/jre/../lib/amd64
Signal Handlers:
SIGSEGV: [libjvm.so+0x632f3c], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
SIGBUS: [libjvm.so+0x632f3c], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
SIGFPE: [libjvm.so+0x5622fa], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
SIGPIPE: [libjvm.so+0x5622fa], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
SIGXFSZ: [libjvm.so+0x5622fa], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
SIGILL: [libjvm.so+0x5622fa], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
SIGUSR1: SIG_DFL, sa_mask[0]=00000000000000000000000000000000, sa_flags=none
SIGUSR2: [libjvm.so+0x562499], sa_mask[0]=00000000000000000000000000000000, sa_flags=SA_RESTART|SA_SIGINFO
SIGHUP: SIG_DFL, sa_mask[0]=00000000000000000000000000000000, sa_flags=none
SIGINT: SIG_DFL, sa_mask[0]=00000000000000000000000000000000, sa_flags=none
SIGTERM: SIG_DFL, sa_mask[0]=00000000000000000000000000000000, sa_flags=none
SIGQUIT: SIG_DFL, sa_mask[0]=00000000000000000000000000000000, sa_flags=none
--------------- S Y S T E M ---------------
OS:Linux
uname:Linux 4.9.87-linuxkit-aufs #1 SMP Wed Mar 14 15:12:16 UTC 2018 x86_64
libc:glibc 2.9 NPTL
rlimit: STACK infinity, CORE 0k, NPROC 1, NOFILE 64, AS 10000000k
load average:0.00 0.02 0.04
/proc/meminfo:
MemTotal: 2046652 kB
MemFree: 427620 kB
MemAvailable: 1638340 kB
Buffers: 22660 kB
Cached: 1297648 kB
SwapCached: 0 kB
Active: 348948 kB
Inactive: 1162276 kB
Active(anon): 192816 kB
Inactive(anon): 132 kB
Active(file): 156132 kB
Inactive(file): 1162144 kB
Unevictable: 0 kB
Mlocked: 0 kB
SwapTotal: 1048572 kB
SwapFree: 1048572 kB
Dirty: 0 kB
Writeback: 0 kB
AnonPages: 190948 kB
Mapped: 98780 kB
Shmem: 2036 kB
Slab: 76904 kB
SReclaimable: 48480 kB
SUnreclaim: 28424 kB
KernelStack: 5856 kB
PageTables: 2032 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 2071896 kB
Committed_AS: 622108 kB
VmallocTotal: 34359738367 kB
VmallocUsed: 0 kB
VmallocChunk: 0 kB
AnonHugePages: 0 kB
ShmemHugePages: 0 kB
ShmemPmdMapped: 0 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 2048 kB
DirectMap4k: 71084 kB
DirectMap2M: 2025472 kB
DirectMap1G: 0 kB
CPU:total 4 (initial active 4) (1 cores per cpu, 1 threads per core) family 6 model 94 stepping 3, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, avx2, aes, clmul, erms, rtm, 3dnowpref, lzcnt, tsc, tscinvbit, bmi1, bmi2
/proc/cpuinfo:
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 94
model name : Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz
stepping : 3
cpu MHz : 2600.000
cache size : 6144 KB
physical id : 0
siblings : 1
core id : 0
cpu cores : 1
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 22
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht pbe syscall nx pdpe1gb lm constant_tsc rep_good nopl xtopology nonstop_tsc eagerfpu pni pclmulqdq dtes64 ds_cpl ssse3 sdbg fma cx16 xtpr pcid sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch kaiser fsgsbase bmi1 hle avx2 bmi2 erms rtm xsaveopt arat
bugs : cpu_meltdown spectre_v1 spectre_v2
bogomips : 5184.00
clflush size : 64
cache_alignment : 64
address sizes : 39 bits physical, 48 bits virtual
power management:
processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 94
model name : Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz
stepping : 3
cpu MHz : 2600.000
cache size : 6144 KB
physical id : 1
siblings : 1
core id : 0
cpu cores : 1
apicid : 1
initial apicid : 1
fpu : yes
fpu_exception : yes
cpuid level : 22
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht pbe syscall nx pdpe1gb lm constant_tsc rep_good nopl xtopology nonstop_tsc eagerfpu pni pclmulqdq dtes64 ds_cpl ssse3 sdbg fma cx16 xtpr pcid sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch kaiser fsgsbase bmi1 hle avx2 bmi2 erms rtm xsaveopt arat
bugs : cpu_meltdown spectre_v1 spectre_v2
bogomips : 4843.62
clflush size : 64
cache_alignment : 64
address sizes : 39 bits physical, 48 bits virtual
power management:
processor : 2
vendor_id : GenuineIntel
cpu family : 6
model : 94
model name : Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz
stepping : 3
cpu MHz : 2600.000
cache size : 6144 KB
physical id : 2
siblings : 1
core id : 0
cpu cores : 1
apicid : 2
initial apicid : 2
fpu : yes
fpu_exception : yes
cpuid level : 22
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht pbe syscall nx pdpe1gb lm constant_tsc rep_good nopl xtopology nonstop_tsc eagerfpu pni pclmulqdq dtes64 ds_cpl ssse3 sdbg fma cx16 xtpr pcid sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch kaiser fsgsbase bmi1 hle avx2 bmi2 erms rtm xsaveopt arat
bugs : cpu_meltdown spectre_v1 spectre_v2
bogomips : 5312.77
clflush size : 64
cache_alignment : 64
address sizes : 39 bits physical, 48 bits virtual
power management:
processor : 3
vendor_id : GenuineIntel
cpu family : 6
model : 94
model name : Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz
stepping : 3
cpu MHz : 2600.000
cache size : 6144 KB
physical id : 3
siblings : 1
core id : 0
cpu cores : 1
apicid : 3
initial apicid : 3
fpu : yes
fpu_exception : yes
cpuid level : 22
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht pbe syscall nx pdpe1gb lm constant_tsc rep_good nopl xtopology nonstop_tsc eagerfpu pni pclmulqdq dtes64 ds_cpl ssse3 sdbg fma cx16 xtpr pcid sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch kaiser fsgsbase bmi1 hle avx2 bmi2 erms rtm xsaveopt arat
bugs : cpu_meltdown spectre_v1 spectre_v2
bogomips : 5378.71
clflush size : 64
cache_alignment : 64
address sizes : 39 bits physical, 48 bits virtual
power management:
Memory: 4k page, physical 2046652k(427620k free), swap 1048572k(1048572k free)
vm_info: OpenJDK 64-Bit Server VM (25.151-b12) for linux-amd64 JRE (1.8.0_151-b12), built on Nov 21 2017 11:32:26 by "buildozer" with gcc 6.4.0
time: Mon Jun 11 14:17:34 2018
elapsed time: 0 seconds (0d 0h 0m 0s)
Exited with error status 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment