在linux系统中用Assesmbly方法启动maven服务,启动不起来.

然后看日志

 

发现内存不够用

 

 

Xshell 5 (Build 1044)
Copyright (c) 2002-2016 NetSarang Computer, Inc. All rights reserved.

Type `help' to learn how to use Xshell prompt.
[d:\~]$ 

Connecting to 192.168.112.131:22...
Connection established.
To escape to local shell, press 'Ctrl+Alt+]'.

Last login: Mon Sep 10 06:12:10 2018 from 192.168.112.1
[root@localhost ~]# cd /usr/local
[root@localhost local]# ls
bin  games    jdk7  lib64    menu-dubbo  share  tmp
etc  include  lib   libexec  sbin        src
[root@localhost local]# cd menu-dubbo/
[root@localhost menu-dubbo]# LS
-bash: LS: command not found
[root@localhost menu-dubbo]# JAVA
-bash: JAVA: command not found
[root@localhost menu-dubbo]# java
Usage: java [-options] class [args...]
           (to execute a class)
   or  java [-options] -jar jarfile [args...]
           (to execute a jar file)
where options include:
    -d32      use a 32-bit data model if available
    -d64      use a 64-bit data model if available
    -server      to select the "server" VM
                  The default VM is server.

    -cp <class search path of directories and zip/jar files>
    -classpath <class search path of directories and zip/jar files>
                  A : separated list of directories, JAR archives,
                  and ZIP archives to search for class files.
    -D<name>=<value>
                  set a system property
    -verbose:[class|gc|jni]
                  enable verbose output
    -version      print product version and exit
    -version:<value>
                  require the specified version to run
    -showversion  print product version and continue
    -jre-restrict-search | -no-jre-restrict-search
                  include/exclude user private JREs in the version search
    -? -help      print this help message
    -X            print help on non-standard options
    -ea[:<packagename>...|:<classname>]
    -enableassertions[:<packagename>...|:<classname>]
                  enable assertions with specified granularity
    -da[:<packagename>...|:<classname>]
    -disableassertions[:<packagename>...|:<classname>]
                  disable assertions with specified granularity
    -esa | -enablesystemassertions
                  enable system assertions
    -dsa | -disablesystemassertions
                  disable system assertions
    -agentlib:<libname>[=<options>]
                  load native agent library <libname>, e.g. -agentlib:hprof
                  see also, -agentlib:jdwp=help and -agentlib:hprof=help
    -agentpath:<pathname>[=<options>]
                  load native agent library by full pathname
    -javaagent:<jarpath>[=<options>]
                  load Java programming language agent, see java.lang.instrument
    -splash:<imagepath>
                  show splash screen with specified image
See http://www.oracle.com/technetwork/java/javase/documentation/index.html for more details.
[root@localhost menu-dubbo]# java -version
java version "1.7.0_80"
Java(TM) SE Runtime Environment (build 1.7.0_80-b15)
Java HotSpot(TM) 64-Bit Server VM (build 24.80-b11, mixed mode)
[root@localhost menu-dubbo]# javac
Usage: javac <options> <source files>
where possible options include:
  -g                         Generate all debugging info
  -g:none                    Generate no debugging info
  -g:{lines,vars,source}     Generate only some debugging info
  -nowarn                    Generate no warnings
  -verbose                   Output messages about what the compiler is doing
  -deprecation               Output source locations where deprecated APIs are used
  -classpath <path>          Specify where to find user class files and annotation processors
  -cp <path>                 Specify where to find user class files and annotation processors
  -sourcepath <path>         Specify where to find input source files
  -bootclasspath <path>      Override location of bootstrap class files
  -extdirs <dirs>            Override location of installed extensions
  -endorseddirs <dirs>       Override location of endorsed standards path
  -proc:{none,only}          Control whether annotation processing and/or compilation is done.
  -processor <class1>[,<class2>,<class3>...] Names of the annotation processors to run; bypasses default discovery process
  -processorpath <path>      Specify where to find annotation processors
  -d <directory>             Specify where to place generated class files
  -s <directory>             Specify where to place generated source files
  -implicit:{none,class}     Specify whether or not to generate class files for implicitly referenced files
  -encoding <encoding>       Specify character encoding used by source files
  -source <release>          Provide source compatibility with specified release
  -target <release>          Generate class files for specific VM version
  -version                   Version information
  -help                      Print a synopsis of standard options
  -Akey[=value]              Options to pass to annotation processors
  -X                         Print a synopsis of nonstandard options
  -J<flag>                   Pass <flag> directly to the runtime system
  -Werror                    Terminate compilation if warnings occur
  @<filename>                Read options and filenames from file

[root@localhost menu-dubbo]# clear
[root@localhost menu-dubbo]# vim /etc/sysconfig/iptables
[root@localhost menu-dubbo]# pwd
/usr/local/menu-dubbo
[root@localhost menu-dubbo]# cd ..
[root@localhost local]# ls
bin  etc  games  include  jdk7  lib  lib64  libexec  sbin  share  src  tmp
[root@localhost local]# cd tmp
[root@localhost tmp]# ls
jdk1.7.0_80  jdk-7u80-linux-x64.tar.gz  menu-dubbo-0.0.1-SNAPSHOT-assembly.tar.gz
[root@localhost tmp]# tar zxvf menu-dubbo-0.0.1-SNAPSHOT-assembly.tar.gz 
menu-dubbo-0.0.1-SNAPSHOT/lib/menu-service-0.0.1-SNAPSHOT.jar
menu-dubbo-0.0.1-SNAPSHOT/lib/menu-pojo-0.0.1-SNAPSHOT.jar
menu-dubbo-0.0.1-SNAPSHOT/lib/dubbo-2.5.3.jar
menu-dubbo-0.0.1-SNAPSHOT/lib/javassist-3.15.0-GA.jar
menu-dubbo-0.0.1-SNAPSHOT/lib/netty-3.2.5.Final.jar
menu-dubbo-0.0.1-SNAPSHOT/lib/spring-context-4.1.6.RELEASE.jar
menu-dubbo-0.0.1-SNAPSHOT/lib/spring-aop-4.1.6.RELEASE.jar
menu-dubbo-0.0.1-SNAPSHOT/lib/aopalliance-1.0.jar
menu-dubbo-0.0.1-SNAPSHOT/lib/spring-beans-4.1.6.RELEASE.jar
menu-dubbo-0.0.1-SNAPSHOT/lib/spring-core-4.1.6.RELEASE.jar
menu-dubbo-0.0.1-SNAPSHOT/lib/commons-logging-1.2.jar
menu-dubbo-0.0.1-SNAPSHOT/lib/spring-expression-4.1.6.RELEASE.jar
menu-dubbo-0.0.1-SNAPSHOT/lib/zkclient-0.10.jar
menu-dubbo-0.0.1-SNAPSHOT/lib/slf4j-api-1.6.1.jar
menu-dubbo-0.0.1-SNAPSHOT/lib/zookeeper-3.4.8.jar
menu-dubbo-0.0.1-SNAPSHOT/lib/slf4j-log4j12-1.6.1.jar
menu-dubbo-0.0.1-SNAPSHOT/lib/log4j-1.2.17.jar
menu-dubbo-0.0.1-SNAPSHOT/lib/jline-0.9.94.jar
menu-dubbo-0.0.1-SNAPSHOT/lib/junit-3.8.1.jar
menu-dubbo-0.0.1-SNAPSHOT/lib/netty-3.7.0.Final.jar
menu-dubbo-0.0.1-SNAPSHOT/lib/aspectjweaver-1.8.6.jar
menu-dubbo-0.0.1-SNAPSHOT/lib/spring-jdbc-4.1.6.RELEASE.jar
menu-dubbo-0.0.1-SNAPSHOT/lib/spring-tx-4.1.6.RELEASE.jar
menu-dubbo-0.0.1-SNAPSHOT/lib/mybatis-3.2.7.jar
menu-dubbo-0.0.1-SNAPSHOT/lib/mybatis-spring-1.2.3.jar
menu-dubbo-0.0.1-SNAPSHOT/lib/mysql-connector-java-5.1.38.jar
menu-dubbo-0.0.1-SNAPSHOT/lib/menu-dubbo-0.0.1-SNAPSHOT.jar
menu-dubbo-0.0.1-SNAPSHOT/bin/
menu-dubbo-0.0.1-SNAPSHOT/bin/dump.sh
menu-dubbo-0.0.1-SNAPSHOT/bin/restart.sh
menu-dubbo-0.0.1-SNAPSHOT/bin/server.sh
menu-dubbo-0.0.1-SNAPSHOT/bin/start.bat
menu-dubbo-0.0.1-SNAPSHOT/bin/start.sh
menu-dubbo-0.0.1-SNAPSHOT/bin/stop.sh
menu-dubbo-0.0.1-SNAPSHOT/conf/
menu-dubbo-0.0.1-SNAPSHOT/conf/dubbo.properties
[root@localhost tmp]# ls
jdk1.7.0_80                menu-dubbo-0.0.1-SNAPSHOT
jdk-7u80-linux-x64.tar.gz  menu-dubbo-0.0.1-SNAPSHOT-assembly.tar.gz
[root@localhost tmp]# cp -r menu-dubbo-0.0.1-SNAPSHOT /usr/local/menu-dubbo
[root@localhost tmp]# ls
jdk1.7.0_80                menu-dubbo-0.0.1-SNAPSHOT
jdk-7u80-linux-x64.tar.gz  menu-dubbo-0.0.1-SNAPSHOT-assembly.tar.gz
[root@localhost tmp]# cd ..
[root@localhost local]# ls
bin  games    jdk7  lib64    menu-dubbo  share  tmp
etc  include  lib   libexec  sbin        src
[root@localhost local]# cd menu-dubbo/
[root@localhost menu-dubbo]# ls
bin  conf  lib
[root@localhost menu-dubbo]# cd bin
[root@localhost bin]# ls
dump.sh  restart.sh  server.sh  start.bat  start.sh  stop.sh
[root@localhost bin]# ./start.sh
Starting the localhost.localdomain ........................^C
[root@localhost bin]# ls
dump.sh  restart.sh  server.sh  start.bat  start.sh  stop.sh
[root@localhost bin]# ./stop.sh
ERROR: The localhost.localdomain does not started!
[root@localhost bin]# ls
dump.sh  restart.sh  server.sh  start.bat  start.sh  stop.sh
[root@localhost bin]# vim start.sh
[root@localhost bin]# ls
dump.sh  restart.sh  server.sh  start.bat  start.sh  stop.sh
[root@localhost bin]# cd ..
[root@localhost menu-dubbo]# ls
bin  conf  hs_err_pid2345.log  lib  logs
[root@localhost menu-dubbo]# cd logs
[root@localhost logs]# ls
stdout.log
[root@localhost logs]# vim stdout.log 
[root@localhost logs]# ls
stdout.log
[root@localhost logs]# cd ..
[root@localhost menu-dubbo]# ls
bin  conf  hs_err_pid2345.log  lib  logs
[root@localhost menu-dubbo]# vim hs_err_pid2345.log 
[root@localhost menu-dubbo]# ls
bin  conf  hs_err_pid2345.log  lib  logs
[root@localhost menu-dubbo]# pwd
/usr/local/menu-dubbo
[root@localhost menu-dubbo]# ls
bin  conf  hs_err_pid2345.log  lib  logs
[root@localhost menu-dubbo]# rm hs_err_pid2345.log 
rm: remove regular file `hs_err_pid2345.log'? y
[root@localhost menu-dubbo]# ls
bin  conf  lib  logs
[root@localhost menu-dubbo]# cd bin
[root@localhost bin]# 
[root@localhost bin]# ls
dump.sh  restart.sh  server.sh  start.bat  start.sh  stop.sh
[root@localhost bin]# ./start.sh
Starting the localhost.localdomain ..................^C
[root@localhost bin]# ls
dump.sh  restart.sh  server.sh  start.bat  start.sh  stop.sh
[root@localhost bin]# cd ..
[root@localhost menu-dubbo]# ls
bin  conf  hs_err_pid2591.log  lib  logs
[root@localhost menu-dubbo]# vim hs_err_pid2591.log 
[root@localhost menu-dubbo]# ls
bin  conf  hs_err_pid2591.log  lib  logs
[root@localhost menu-dubbo]# cd bin
[root@localhost bin]# ls
dump.sh  restart.sh  server.sh  start.bat  start.sh  stop.sh
[root@localhost bin]# ./start.sh
Starting the localhost.localdomain ........................................^C
[root@localhost bin]# cd ..
[root@localhost menu-dubbo]# ls
bin  conf  hs_err_pid2591.log  hs_err_pid2736.log  lib  logs
[root@localhost menu-dubbo]# vim hs_err_pid2736.log 
You have new mail in /var/spool/mail/root
[root@localhost menu-dubbo]# vim /etc/security/limits.conf 
[root@localhost menu-dubbo]# free -h
free: invalid option -- 'h'
usage: free [-b|-k|-m|-g] [-l] [-o] [-t] [-s delay] [-c count] [-V]
  -b,-k,-m,-g show output in bytes, KB, MB, or GB
  -l show detailed low and high memory statistics
  -o use old format (no -/+buffers/cache line)
  -t display total for RAM + swap
  -s update every [delay] seconds
  -c update [count] times
  -V display version information and exit
[root@localhost menu-dubbo]# free -l
             total       used       free     shared    buffers     cached
Mem:        486284     437764      48520          0      29484     214636
Low:        486284     437764      48520
High:            0          0          0
-/+ buffers/cache:     193644     292640
Swap:       983032          0     983032
[root@localhost menu-dubbo]# ps -ef |grep tomcat
root       3257   2223  0 09:19 pts/0    00:00:00 grep tomcat
[root@localhost menu-dubbo]# ls
bin  conf  hs_err_pid2591.log  hs_err_pid2736.log  lib  logs
[root@localhost menu-dubbo]# cd bin
[root@localhost bin]# ls
dump.sh  restart.sh  server.sh  start.bat  start.sh  stop.sh
[root@localhost bin]# vim start.sh
[root@localhost bin]# ls
dump.sh  restart.sh  server.sh  start.bat  start.sh  stop.sh
[root@localhost bin]# vim server.sh
[root@localhost bin]# ls
dump.sh  restart.sh  server.sh  start.bat  start.sh  stop.sh
[root@localhost bin]# pwd
/usr/local/menu-dubbo/bin
[root@localhost bin]# cd ..
[root@localhost menu-dubbo]# ls
bin  conf  hs_err_pid2591.log  hs_err_pid2736.log  lib  logs
[root@localhost menu-dubbo]# cd bin
[root@localhost bin]# ls
dump.sh  restart.sh  server.sh  start.bat  start.sh  stop.sh
[root@localhost bin]# ./ start.sh
-bash: ./: is a directory
[root@localhost bin]# ls
dump.sh  restart.sh  server.sh  start.bat  start.sh  stop.sh
[root@localhost bin]# ./start.sh
Starting the localhost.localdomain .............................................................................^C
[root@localhost bin]# ls
dump.sh  restart.sh  server.sh  start.bat  start.sh  stop.sh
[root@localhost bin]# cd ..
[root@localhost menu-dubbo]# ls
bin  conf  hs_err_pid2591.log  hs_err_pid2736.log  hs_err_pid3323.log  lib  logs
[root@localhost menu-dubbo]# vim hs_err_pid3323.log 

#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (malloc) failed to allocate 1879048192 bytes for committing reserved memory.
# 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
# This output file may be truncated or incomplete.
#
#  Out of Memory Error (os_linux.cpp:2756), pid=3323, tid=139923262781184
#
# JRE version:  (7.0_80-b15) (build )
# Java VM: Java HotSpot(TM) 64-Bit Server VM (24.80-b11 mixed mode linux-amd64 compressed oops)
# 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 (0x00007f4268009800):  JavaThread "Unknown thread" [_thread_in_vm, id=3325, stack(0x00007f426c5bb000,0x00007f426c5fc000)]

Stack: [0x00007f426c5bb000,0x00007f426c5fc000],  sp=0x00007f426c5fa300,  free space=252k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.so+0x9a320a]  VMError::report_and_die()+0x2ea
V  [libjvm.so+0x498d3b]  report_vm_out_of_memory(char const*, int, unsigned long, char const*)+0x9b
V  [libjvm.so+0x82191e]  os::Linux::commit_memory_impl(char*, unsigned long, bool)+0xfe
V  [libjvm.so+0x821e69]  os::pd_commit_memory(char*, unsigned long, unsigned long, bool)+0x29
V  [libjvm.so+0x81bb6a]  os::commit_memory(char*, unsigned long, unsigned long, bool)+0x2a
V  [libjvm.so+0x99ea19]  VirtualSpace::expand_by(unsigned long, bool)+0x1c9
V  [libjvm.so+0x99eb9d]  VirtualSpace::initialize(ReservedSpace, unsigned long)+0xcd
V  [libjvm.so+0x57a5cf]  CardGeneration::CardGeneration(ReservedSpace, unsigned long, int, GenRemSet*)+0x11f
V  [libjvm.so+0x57b8a6]  GenerationSpec::init(ReservedSpace, int, GenRemSet*)+0x106
V  [libjvm.so+0x56bf84]  GenCollectedHeap::initialize()+0x344
V  [libjvm.so+0x97509a]  Universe::initialize_heap()+0xca
V  [libjvm.so+0x976269]  universe_init()+0x79
V  [libjvm.so+0x5b2f25]  init_globals()+0x65
V  [libjvm.so+0x95db4d]  Threads::create_vm(JavaVMInitArgs*, bool*)+0x1ed
V  [libjvm.so+0x63b2e4]  JNI_CreateJavaVM+0x74
C  [libjli.so+0x2f8e]  JavaMain+0x9e


---------------  P R O C E S S  ---------------

Java Threads: ( => current thread )

Other Threads:

=>0x00007f4268009800 (exited) JavaThread "Unknown thread" [_thread_in_vm, id=3325, stack(0x00007f426c5bb000,0x00007f426c5fc000)]

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:
00400000-00401000 r-xp 00000000 08:02 428979                             /usr/local/jdk7/bin/java
00600000-00601000 rw-p 00000000 08:02 428979                             /usr/local/jdk7/bin/java
00863000-00884000 rw-p 00000000 00:00 0                                  [heap]
778000000-788000000 rw-p 00000000 00:00 0
7f8000000-800000000 rw-p 00000000 00:00 0
345e200000-345e220000 r-xp 00000000 08:02 150524                         /lib64/ld-2.12.so
345e41f000-345e420000 r--p 0001f000 08:02 150524                         /lib64/ld-2.12.so
345e420000-345e421000 rw-p 00020000 08:02 150524                         /lib64/ld-2.12.so
345e421000-345e422000 rw-p 00000000 00:00 0
345e600000-345e602000 r-xp 00000000 08:02 150533                         /lib64/libdl-2.12.so
345e602000-345e802000 ---p 00002000 08:02 150533                         /lib64/libdl-2.12.so
345e802000-345e803000 r--p 00002000 08:02 150533                         /lib64/libdl-2.12.so
345e803000-345e804000 rw-p 00003000 08:02 150533                         /lib64/libdl-2.12.so
345ea00000-345eb8b000 r-xp 00000000 08:02 150525                         /lib64/libc-2.12.so
345eb8b000-345ed8a000 ---p 0018b000 08:02 150525                         /lib64/libc-2.12.so
345ed8a000-345ed8e000 r--p 0018a000 08:02 150525                         /lib64/libc-2.12.so
345ed8e000-345ed8f000 rw-p 0018e000 08:02 150525                         /lib64/libc-2.12.so
345ed8f000-345ed94000 rw-p 00000000 00:00 0
345ee00000-345ee17000 r-xp 00000000 08:02 150527                         /lib64/libpthread-2.12.so
345ee17000-345f017000 ---p 00017000 08:02 150527                         /lib64/libpthread-2.12.so
345f017000-345f018000 r--p 00017000 08:02 150527                         /lib64/libpthread-2.12.so
345f018000-345f019000 rw-p 00018000 08:02 150527                         /lib64/libpthread-2.12.so
345f019000-345f01d000 rw-p 00000000 00:00 0
345f200000-345f207000 r-xp 00000000 08:02 150528                         /lib64/librt-2.12.so
345f207000-345f406000 ---p 00007000 08:02 150528                         /lib64/librt-2.12.so
345f406000-345f407000 r--p 00006000 08:02 150528                         /lib64/librt-2.12.so
345f407000-345f408000 rw-p 00007000 08:02 150528                         /lib64/librt-2.12.so
345f600000-345f683000 r-xp 00000000 08:02 150530                         /lib64/libm-2.12.so
345f683000-345f882000 ---p 00083000 08:02 150530                         /lib64/libm-2.12.so
345f882000-345f883000 r--p 00082000 08:02 150530                         /lib64/libm-2.12.so
345f883000-345f884000 rw-p 00083000 08:02 150530                         /lib64/libm-2.12.so
7f4264550000-7f4264819000 rw-p 00000000 00:00 0
7f4264819000-7f4264bd9000 rw-p 00000000 00:00 0
7f4264bd9000-7f4264bda000 rw-p 00000000 00:00 0
7f4264bda000-7f4264e4a000 rwxp 00000000 00:00 0
7f4264e4a000-7f4267bda000 rw-p 00000000 00:00 0
7f4267bda000-7f4267bf1000 r-xp 00000000 08:02 428339                     /usr/local/jdk7/jre/lib/amd64/libzip.so
7f4267bf1000-7f4267df1000 ---p 00017000 08:02 428339                     /usr/local/jdk7/jre/lib/amd64/libzip.so
7f4267df1000-7f4267df2000 rw-p 00017000 08:02 428339                     /usr/local/jdk7/jre/lib/amd64/libzip.so
7f4267df2000-7f4267dfe000 r-xp 00000000 08:02 129593                     /lib64/libnss_files-2.12.so
7f4267dfe000-7f4267ffe000 ---p 0000c000 08:02 129593                     /lib64/libnss_files-2.12.so
7f4267ffe000-7f4267fff000 r--p 0000c000 08:02 129593                     /lib64/libnss_files-2.12.so
7f4267fff000-7f4268000000 rw-p 0000d000 08:02 129593                     /lib64/libnss_files-2.12.so
7f4268000000-7f4268026000 rw-p 00000000 00:00 0
7f4268026000-7f426c000000 ---p 00000000 00:00 0
7f426c0c2000-7f426c0cc000 rw-p 00000000 00:00 0
7f426c0cc000-7f426c182000 rw-p 00000000 00:00 0
7f426c182000-7f426c1ab000 r-xp 00000000 08:02 428300                     /usr/local/jdk7/jre/lib/amd64/libjava.so
7f426c3ba000-7f426c5b9000 ---p 0000d000 08:02 428331                     /usr/local/jdk7/jre/lib/amd64/libverify.so
7f426c5b9000-7f426c5bb000 rw-p 0000c000 08:02 428331                     /usr/local/jdk7/jre/lib/amd64/libverify.so
7f426c5bb000-7f426c5be000 ---p 00000000 00:00 0
7f426c5be000-7f426c5fc000 rw-p 00000000 00:00 0
7f426c5fc000-7f426d172000 r-xp 00000000 08:02 428294                     /usr/local/jdk7/jre/lib/amd64/server/libjvm.so
7f426d172000-7f426d371000 ---p 00b76000 08:02 428294                     /usr/local/jdk7/jre/lib/amd64/server/libjvm.so
7f426d371000-7f426d435000 rw-p 00b75000 08:02 428294                     /usr/local/jdk7/jre/lib/amd64/server/libjvm.so
7f426d435000-7f426d479000 rw-p 00000000 00:00 0
7f426d479000-7f426d48e000 r-xp 00000000 08:02 393826                     /usr/local/jdk7/lib/amd64/jli/libjli.so
7f426d48e000-7f426d68d000 ---p 00015000 08:02 393826                     /usr/local/jdk7/lib/amd64/jli/libjli.so
7f426d68d000-7f426d68e000 rw-p 00014000 08:02 393826                     /usr/local/jdk7/lib/amd64/jli/libjli.so
7f426d68e000-7f426d68f000 rw-p 00000000 00:00 0
7f426d690000-7f426d692000 rw-p 00000000 00:00 0
7f426d692000-7f426d69a000 rw-s 00000000 08:02 388611                     /tmp/hsperfdata_root/3323
7f426d69a000-7f426d69b000 rw-p 00000000 00:00 0
7f426d69b000-7f426d69c000 r--p 00000000 00:00 0
7f426d69c000-7f426d69d000 rw-p 00000000 00:00 0
7fffc74ee000-7fffc7503000 rw-p 00000000 00:00 0                          [stack]
7fffc75b8000-7fffc75b9000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]

VM Arguments:
java_command: com.alibaba.dubbo.container.Main
Launcher Type: SUN_STANDARD

Environment Variables:
JAVA_HOME=/usr/local/jdk7
CLASSPATH=.:/usr/local/jdk7/lib/dt.jar:/usr/local/jdk7/lib/tools.jar
PATH=/usr/local/jdk7/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
SHELL=/bin/bash

Signal Handlers:
SIGSEGV: [libjvm.so+0x9a3b20], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGBUS: [libjvm.so+0x9a3b20], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGFPE: [libjvm.so+0x81e740], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGPIPE: [libjvm.so+0x81e740], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGXFSZ: [libjvm.so+0x81e740], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGILL: [libjvm.so+0x81e740], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
SIGUSR2: [libjvm.so+0x81ffb0], sa_mask[0]=0x00000000, sa_flags=0x10000004
SIGHUP: SIG_IGN, sa_mask[0]=0x00000000, sa_flags=0x00000000
SIGINT: SIG_IGN, sa_mask[0]=0x00000000, sa_flags=0x00000000
SIGTERM: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
SIGQUIT: SIG_IGN, sa_mask[0]=0x00000000, sa_flags=0x00000000


---------------  S Y S T E M  ---------------

OS:CentOS release 6.5 (Final)

uname:Linux 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22 03:15:09 UTC 2013 x86_64
libc:glibc 2.12 NPTL 2.12
rlimit: STACK 10240k, CORE 0k, NPROC 3637, NOFILE 4096, AS infinity
load average:0.00 0.00 0.00

/proc/meminfo:
MemTotal:         486284 kB
MemFree:           43812 kB
Buffers:           29644 kB
Cached:           214676 kB
SwapCached:            0 kB
Active:           157404 kB
Inactive:         161224 kB
Active(anon):      74536 kB
Inactive(anon):     1100 kB
Active(file):      82868 kB
Inactive(file):   160124 kB
Unevictable:           0 kB
Mlocked:               0 kB
SwapTotal:        983032 kB
SwapFree:         983032 kB
Dirty:                40 kB
Writeback:             0 kB
AnonPages:         74348 kB
Mapped:            45408 kB
SReclaimable:      37232 kB
SUnreclaim:        57608 kB
KernelStack:        1584 kB
PageTables:        11268 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:     1226172 kB
Committed_AS:     646864 kB
VmallocTotal:   34359738367 kB
VmallocUsed:      149724 kB
VmallocChunk:   34359574304 kB
HardwareCorrupted:     0 kB
AnonHugePages:         0 kB
HugePages_Surp:        0
Hugepagesize:       2048 kB
DirectMap4k:       10240 kB
DirectMap2M:      514048 kB

/proc/cpuinfo:
cpu family      : 6
model           : 58
model name      : Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz
stepping        : 9
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (malloc) failed to allocate 1879048192 bytes for committing reserved memory.
# 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 (os_linux.cpp:2756), pid=3323, tid=139923262781184
#
# JRE version:  (7.0_80-b15) (build )
# Java VM: Java HotSpot(TM) 64-Bit Server VM (24.80-b11 mixed mode linux-amd64 compressed oops)
# 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 (0x00007f4268009800):  JavaThread "Unknown thread" [_thread_in_vm, id=3325, stack(0x00007f426c5bb000,0x00007f426c5fc000)]

Stack: [0x00007f426c5bb000,0x00007f426c5fc000],  sp=0x00007f426c5fa300,  free space=252k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.so+0x9a320a]  VMError::report_and_die()+0x2ea
V  [libjvm.so+0x498d3b]  report_vm_out_of_memory(char const*, int, unsigned long, char const*)+0x9b
-- INSERT --                                                                                                                      32,1           3%
 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值