Springboot刚启动就报内存溢出?

1.问题描述:
本地系统是Ubuntu,jdk1.8,工具是eclipse,新创建的最简单的springboot项目,其中只导入了web、config的包。
只写了一个controller,启动就会报错。
Full thread dump Java HotSpot(TM) 64-Bit Server VM (25.201-b09 mixed mode):

"DestroyJavaVM" #39 prio=5 os_prio=0 tid=0x00007f0ae800f000 nid=0x697c waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE

"http-nio-8080-Acceptor-0" #37 daemon prio=5 os_prio=0 tid=0x00007f0ae8224800 nid=0x69ae runnable [0x00007f0ac26ed000]
java.lang.Thread.State: RUNNABLE
at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method)
at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:422)
at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:250)
- locked (a java.lang.Object)
at org.apache.tomcat.util.net.NioEndpoint.serverSocketAccept(NioEndpoint.java:448)
at org.apache.tomcat.util.net.NioEndpoint.serverSocketAccept(NioEndpoint.java:70)
at org.apache.tomcat.util.net.Acceptor.run(Acceptor.java:95)
at java.lang.Thread.run(Thread.java:748)

"http-nio-8080-ClientPoller-1" #36 daemon prio=5 os_prio=0 tid=0x00007f0ae821f000 nid=0x69ad runnable [0x00007f0ac27ee000]
java.lang.Thread.State: RUNNABLE
at sun.nio.ch.EPollArrayWrapper.epollWait(Native Method)
at sun.nio.ch.EPollArrayWrapper.poll(EPollArrayWrapper.java:269)
at sun.nio.ch.EPollSelectorImpl.doSelect(EPollSelectorImpl.java:93)
at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:86)
- locked (a sun.nio.ch.Util$3)
- locked (a java.util.Collections$UnmodifiableSet)
- locked (a sun.nio.ch.EPollSelectorImpl)
at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:97)
at org.apache.tomcat.util.net.NioEndpoint$Poller.run(NioEndpoint.java:743)
at java.lang.Thread.run(Thread.java:748)

"http-nio-8080-ClientPoller-0" #35 daemon prio=5 os_prio=0 tid=0x00007f0ae821d000 nid=0x69ac runnable [0x00007f0ac28ef000]
java.lang.Thread.State: RUNNABLE
at sun.nio.ch.EPollArrayWrapper.epollWait(Native Method)
at sun.nio.ch.EPollArrayWrapper.poll(EPollArrayWrapper.java:269)
at sun.nio.ch.EPollSelectorImpl.doSelect(EPollSelectorImpl.java:93)
at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:86)
- locked (a sun.nio.ch.Util$3)
- locked (a java.util.Collections$UnmodifiableSet)
- locked (a sun.nio.ch.EPollSelectorImpl)
at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:97)
at org.apache.tomcat.util.net.NioEndpoint$Poller.run(NioEndpoint.java:743)
at java.lang.Thread.run(Thread.java:748)

"http-nio-8080-exec-10" #34 daemon prio=5 os_prio=0 tid=0x00007f0ae82b5800 nid=0x69ab waiting on condition [0x00007f0ac29f0000]
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
at org.apache.tomcat.util.threads.TaskQueue.take(TaskQueue.java:107)
at org.apache.tomcat.util.threads.TaskQueue.take(TaskQueue.java:33)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)

"http-nio-8080-exec-9" #33 daemon prio=5 os_prio=0 tid=0x00007f0ae82b4000 nid=0x69aa waiting on condition [0x00007f0ac2af1000]
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
at org.apache.tomcat.util.threads.TaskQueue.take(TaskQueue.java:107)
at org.apache.tomcat.util.threads.TaskQueue.take(TaskQueue.java:33)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)

"http-nio-8080-exec-8" #32 daemon prio=5 os_prio=0 tid=0x00007f0ae82b2000 nid=0x69a9 waiting on condition [0x00007f0ac2bf2000]
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
at org.apache.tomcat.util.threads.TaskQueue.take(TaskQueue.java:107)
at org.apache.tomcat.util.threads.TaskQueue.take(TaskQueue.java:33)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)

"http-nio-8080-exec-7" #31 daemon prio=5 os_prio=0 tid=0x00007f0ae82b0000 nid=0x69a8 waiting on condition [0x00007f0ac2cf3000]
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
at org.apache.tomcat.util.threads.TaskQueue.take(TaskQueue.java:107)
at org.apache.tomcat.util.threads.TaskQueue.take(TaskQueue.java:33)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)

"http-nio-8080-exec-6" #30 daemon prio=5 os_prio=0 tid=0x00007f0ae82ae000 nid=0x69a7 waiting on condition [0x00007f0ac2df4000]
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
at org.apache.tomcat.util.threads.TaskQueue.take(TaskQueue.java:107)
at org.apache.tomcat.util.threads.TaskQueue.take(TaskQueue.java:33)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)

"http-nio-8080-exec-5" #29 daemon prio=5 os_prio=0 tid=0x00007f0ae8256800 nid=0x69a6 waiting on condition [0x00007f0ac2ef5000]
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
at org.apache.tomcat.util.threads.TaskQueue.take(TaskQueue.java:107)
at org.apache.tomcat.util.threads.TaskQueue.take(TaskQueue.java:33)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)

"http-nio-8080-exec-4" #28 daemon prio=5 os_prio=0 tid=0x00007f0ae8254800 nid=0x69a5 waiting on condition [0x00007f0ac2ff6000]
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
at org.apache.tomcat.util.threads.TaskQueue.take(TaskQueue.java:107)
at org.apache.tomcat.util.threads.TaskQueue.take(TaskQueue.java:33)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)

"http-nio-8080-exec-3" #27 daemon prio=5 os_prio=0 tid=0x00007f0ae8252800 nid=0x69a4 waiting on condition [0x00007f0ac30f7000]
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
at org.apache.tomcat.util.threads.TaskQueue.take(TaskQueue.java:107)
at org.apache.tomcat.util.threads.TaskQueue.take(TaskQueue.java:33)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)

"http-nio-8080-exec-2" #26 daemon prio=5 os_prio=0 tid=0x00007f0ae8251000 nid=0x69a3 waiting on condition [0x00007f0ac31f8000]
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
at org.apache.tomcat.util.threads.TaskQueue.take(TaskQueue.java:107)
at org.apache.tomcat.util.threads.TaskQueue.take(TaskQueue.java:33)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)

"http-nio-8080-exec-1" #25 daemon prio=5 os_prio=0 tid=0x00007f0ae824f800 nid=0x69a2 waiting on condition [0x00007f0ac32f9000]
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
at org.apache.tomcat.util.threads.TaskQueue.take(TaskQueue.java:107)
at org.apache.tomcat.util.threads.TaskQueue.take(TaskQueue.java:33)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)

"NioBlockingSelector.BlockPoller-1" #24 daemon prio=5 os_prio=0 tid=0x00007f0ae82e3800 nid=0x69a1 runnable [0x00007f0ac33fa000]
java.lang.Thread.State: RUNNABLE
at sun.nio.ch.EPollArrayWrapper.epollWait(Native Method)
at sun.nio.ch.EPollArrayWrapper.poll(EPollArrayWrapper.java:269)
at sun.nio.ch.EPollSelectorImpl.doSelect(EPollSelectorImpl.java:93)
at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:86)
- locked (a sun.nio.ch.Util$3)
- locked (a java.util.Collections$UnmodifiableSet)
- locked (a sun.nio.ch.EPollSelectorImpl)
at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:97)
at org.apache.tomcat.util.net.NioBlockingSelector$BlockPoller.run(NioBlockingSelector.java:304)

"spring.cloud.inetutils" #23 daemon prio=5 os_prio=0 tid=0x00007f0ae82fb800 nid=0x69a0 waiting on condition [0x00007f0ac34fb000]
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)

"SimplePauseDetectorThread_0" #22 daemon prio=9 os_prio=0 tid=0x00007f0a84015000 nid=0x699f waiting on condition [0x00007f0ac37fc000]
java.lang.Thread.State: TIMED_WAITING (sleeping)
at java.lang.Thread.sleep(Native Method)
at java.lang.Thread.sleep(Thread.java:340)
at java.util.concurrent.TimeUnit.sleep(TimeUnit.java:386)
at org.LatencyUtils.TimeServices.sleepNanos(TimeServices.java:62)
at org.LatencyUtils.SimplePauseDetector$SimplePauseDetectorThread.run(SimplePauseDetector.java:116)

"Thread-4" #21 daemon prio=9 os_prio=0 tid=0x00007f0a84011800 nid=0x699e waiting on condition [0x00007f0ac38fd000]
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
at org.LatencyUtils.PauseDetector$PauseDetectorThread.run(PauseDetector.java:85)

"container-0" #20 prio=5 os_prio=0 tid=0x00007f0ae8c72800 nid=0x699d waiting on condition [0x00007f0ac39fe000]
java.lang.Thread.State: TIMED_WAITING (sleeping)
at java.lang.Thread.sleep(Native Method)
at org.apache.catalina.core.StandardServer.await(StandardServer.java:568)
at org.springframework.boot.web.embedded.tomcat.TomcatWebServer$1.run(TomcatWebServer.java:181)

"Catalina-utility-2" #19 prio=1 os_prio=0 tid=0x00007f0a68314800 nid=0x699c waiting on condition [0x00007f0ac8dfd000]
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1088)
at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:809)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)

"Catalina-utility-1" #18 prio=1 os_prio=0 tid=0x00007f0ae8c6a800 nid=0x699b waiting on condition [0x00007f0ad0143000]
java.lang.Thread.State: TIMED_WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078)
at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1093)
at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:809)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)

"RMI TCP Accept-0" #13 daemon prio=5 os_prio=0 tid=0x00007f0ae850a000 nid=0x6995 runnable [0x00007f0ad056d000]
java.lang.Thread.State: RUNNABLE
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:409)
at java.net.ServerSocket.implAccept(ServerSocket.java:545)
at java.net.ServerSocket.accept(ServerSocket.java:513)
at sun.management.jmxremote.LocalRMIServerSocketFactory$1.accept(LocalRMIServerSocketFactory.java:52)
at sun.rmi.transport.tcp.TCPTransport$AcceptLoop.executeAcceptLoop(TCPTransport.java:405)
at sun.rmi.transport.tcp.TCPTransport$AcceptLoop.run(TCPTransport.java:377)
at java.lang.Thread.run(Thread.java:748)

"RMI TCP Accept-43459" #12 daemon prio=5 os_prio=0 tid=0x00007f0ae84ca000 nid=0x6994 runnable [0x00007f0ad0694000]
java.lang.Thread.State: RUNNABLE
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:409)
at java.net.ServerSocket.implAccept(ServerSocket.java:545)
at java.net.ServerSocket.accept(ServerSocket.java:513)
at sun.rmi.transport.tcp.TCPTransport$AcceptLoop.executeAcceptLoop(TCPTransport.java:405)
at sun.rmi.transport.tcp.TCPTransport$AcceptLoop.run(TCPTransport.java:377)
at java.lang.Thread.run(Thread.java:748)

"RMI TCP Accept-0" #11 daemon prio=5 os_prio=0 tid=0x00007f0ae84b5000 nid=0x6993 runnable [0x00007f0ad0795000]
java.lang.Thread.State: RUNNABLE
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:409)
at java.net.ServerSocket.implAccept(ServerSocket.java:545)
at java.net.ServerSocket.accept(ServerSocket.java:513)
at sun.rmi.transport.tcp.TCPTransport$AcceptLoop.executeAcceptLoop(TCPTransport.java:405)
at sun.rmi.transport.tcp.TCPTransport$AcceptLoop.run(TCPTransport.java:377)
at java.lang.Thread.run(Thread.java:748)

"Service Thread" #9 daemon prio=9 os_prio=0 tid=0x00007f0ae80d8000 nid=0x6992 runnable [0x0000000000000000]
java.lang.Thread.State: RUNNABLE

"C1 CompilerThread3" #8 daemon prio=9 os_prio=0 tid=0x00007f0ae80cc800 nid=0x6991 waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE

"C2 CompilerThread2" #7 daemon prio=9 os_prio=0 tid=0x00007f0ae80ca800 nid=0x6990 waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE

"C2 CompilerThread1" #6 daemon prio=9 os_prio=0 tid=0x00007f0ae80c9000 nid=0x698f waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE

"C2 CompilerThread0" #5 daemon prio=9 os_prio=0 tid=0x00007f0ae80c6000 nid=0x698e waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE

"Signal Dispatcher" #4 daemon prio=9 os_prio=0 tid=0x00007f0ae80c4800 nid=0x698d waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE

"Finalizer" #3 daemon prio=8 os_prio=0 tid=0x00007f0ae8091800 nid=0x698c in Object.wait() [0x00007f0ad26de000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:144)
- locked (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:165)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:216)

"Reference Handler" #2 daemon prio=10 os_prio=0 tid=0x00007f0ae808f000 nid=0x698b in Object.wait() [0x00007f0ad27df000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on (a java.lang.ref.Reference$Lock)
at java.lang.Object.wait(Object.java:502)
at java.lang.ref.Reference.tryHandlePending(Reference.java:191)
- locked (a java.lang.ref.Reference$Lock)
at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:153)

"VM Thread" os_prio=0 tid=0x00007f0ae8085800 nid=0x698a runnable

"GC task thread#0 (ParallelGC)" os_prio=0 tid=0x00007f0ae8025000 nid=0x6980 runnable

"GC task thread#1 (ParallelGC)" os_prio=0 tid=0x00007f0ae8026800 nid=0x6981 runnable

"GC task thread#2 (ParallelGC)" os_prio=0 tid=0x00007f0ae8028800 nid=0x6982 runnable

"GC task thread#3 (ParallelGC)" os_prio=0 tid=0x00007f0ae802a000 nid=0x6983 runnable

"GC task thread#4 (ParallelGC)" os_prio=0 tid=0x00007f0ae802c000 nid=0x6984 runnable

"GC task thread#5 (ParallelGC)" os_prio=0 tid=0x00007f0ae802d800 nid=0x6987 runnable

"GC task thread#6 (ParallelGC)" os_prio=0 tid=0x00007f0ae802f800 nid=0x6988 runnable

"GC task thread#7 (ParallelGC)" os_prio=0 tid=0x00007f0ae8031000 nid=0x6989 runnable

"VM Periodic Task Thread" os_prio=0 tid=0x00007f0ae850c000 nid=0x6996 waiting on condition

JNI global references: 1235

Heap
PSYoungGen total 144384K, used 45005K [0x000000076d000000, 0x0000000777b00000, 0x00000007c0000000)
eden space 126976K, 35% used [0x000000076d000000,0x000000076fbf3608,0x0000000774c00000)
from space 17408K, 0% used [0x0000000775d00000,0x0000000775d00000,0x0000000776e00000)
to space 17408K, 0% used [0x0000000774c00000,0x0000000774c00000,0x0000000775d00000)
ParOldGen total 175616K, used 22110K [0x00000006c7000000, 0x00000006d1b80000, 0x000000076d000000)
object space 175616K, 12% used [0x00000006c7000000,0x00000006c85978a8,0x00000006d1b80000)
Metaspace used 35192K, capacity 37248K, committed 37504K, reserved 1081344K
class space used 4819K, capacity 5214K, committed 5248K, reserved 1048576K

2019-04-01 14:22:57.992 INFO 27001 --- [on(2)-127.0.0.1] inMXBeanRegistrar$SpringApplicationAdmin : Application shutdown requested.
2019-04-01 14:22:57.994 INFO 27001 --- [on(2)-127.0.0.1] o.s.s.concurrent.ThreadPoolTaskExecutor : Shutting down ExecutorService 'applicationTaskExecutor'
2019-04-01 14:22:58.004 INFO 27001 --- [on(2)-127.0.0.1] o.apache.catalina.core.StandardService : Stopping service [Tomcat]


2个回答

尝试下调整spring-boot的jvm的配置。
参考:https://www.cnblogs.com/jpfss/p/9753215.html

检查下项目配置或者依赖。不是jvm配置问题。

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
项目启动报内存溢出
项目启动,地址栏输入访问路径竟然报内存溢出:错误信息截图如下:解决方法如下:-Xms1024m -Xmx1024m -XX:PermSize=1024m -XX:MaxPermSize=1024M  start如果启动还是一直停在那个页面,后台报Exception in thread "http-bio-8080-exec-3" ,解决方案如下:在后面添加如下这段配置,不够自己可以调:-Xms25...
[IDEA][SpringBoot]web项目刚启动就结束
第一次用idea建了一个web项目,运行出问题,问题点刚运行马上就关闭在build.gradle  中的 dependencies  中依赖标签providedRuntime 只会在runtime才会依赖进来,改成编译时依赖compile...
eclipse启动项目报内存溢出
Run ->DebugConfigurations  选中运行项目 在Arguments中加入如下配置 -Xms256m -Xmx512m -XX:PermSize=128M -XX:MaxPermSize=512M
springboot启动报404错误 无法访问
最常见的问题就是controller控制类不在启动类所在的目录下的或其子目录中
Weblogic启动web应用报内存溢出错误
前言: 项目中使用Weblogic 11g作为应用服务器部署一个web应用,web中内嵌了一个j2ee应用,所以总体占用内存比较大,开发环境使用的tomcat都没有问题,之后向Weblogic做迁移的时候,启动就报了很多错误,诸如jar包冲突、内存溢出之类的,这里讲所遇问题以及解决方法记录下,以供遇到相同问题时参考。
tomcate 启动报内存溢出问题 “PermGen space”
tomcat的bin目录里面的catalina..bat或是catalina.sh # ----- Execute The Requested Command ----------------------------------------- JAVA_OPTS='-server -Xms5120m -Xmx5120m -Xmn1024m -XX:PermSize=1024m -XX:
eclipse启动tomcat报内存溢出,安装jrebel后内存溢出
Arguments后面加上: -Xms256m -Xmx512m -XX:PermSize=128M -XX:MaxPermSize=512M
idea tomcat 启动项目报内存溢出 解决方法
之前公司启动项目是一直报错,找了很久发现才知道是Tomcat内存溢出 在 idea Tomcatserver 修改 VM option添加 “-Xms512m -Xmx512m -XX:MaxNewSize=256m -XX:MaxPermSize=256m ” 大小根据你项目的需要修改 。然后重新启动就OK了!
项目启动就报空指针异常
在使用idea开发时,启动项目后直接报出空指针异常
SpringBoot框架,项目刚启动的时候没事,过一段时间就开始报错了
![报错内容](https://img-ask.csdn.net/upload/201709/27/1506483004_199281.png)n我在网上查了一下,说是:如果一个DB连接在无任何操作情况下过了8个小时后(Mysql 服务器默认的“wait_timeout”是8小时),Mysql会自动把这个连接关闭;我就在配置文件中增加了些:但是还是没用:![增加的](https://img-ask.csdn.net/upload/201709/27/1506483137_196589.png)
java图片合成,报内存溢出
我用java合成2张图片,一张560KB,一张650KB,结果报内存溢出的错误,用了2张几十KB的图片就成功了,请求高手解答有什么好的办法,能够让我合成900KB左右的图片rnrn BufferedImage bufImage = new BufferedImage(width, height, 1);rnrn就是在执行到这里的时候报的内存溢出,图片过大的错误,求高手解答,在线等
java循环,报内存溢出错误
[img=https://img-bbs.csdn.net/upload/201709/16/1505528893_518451.png][/img]rn这是我的代码,是个抓取网页邮箱的程序,参数list是传入的url链接,数量是两万多个,但是每次执行2300个就报内存溢出错误,我都要重新启动一遍,是程序哪里有问题呢,好郁闷啊
哈夫曼树,刚运行就报错了
[code=C/C++]rn#include "stdio.h"rn#include "conio.h"rn#include "string.h"rn#define Max 200rnrntypedef struct rn int selected;rn char name;rn char code[100];rn unsigned int weight;rn int lchild,rchild,parent;rn HTNode;rnHTNode HT[Max];rn/*------------------Init------------------*/rnvoid InitHT(int n)rnrn int i,m;rn m=2*n-1;rn for(i=0;iT[k].weight && T[k].selected==0)rn rn min=T[k].weight;rn index[i]=k;rn rn rn T[index[i]].selected=1;rnrn rnrn *s1=index[0];rn *s2=index[1];rnrnrnvoid HuffmanCoding(HTNode T[],int n)rnrn int i,m,s1,s2;rn m=2*n-1;rn for(i=n;iT[k].weight && T[k].selected==0)rn rn /*如果当前结点权值小于min且该结点未被选*/rn min=T[k].weight; /*则将当前结点权值赋给min,并将结点下标赋给index[i]*/rn index[i]=k; rn rn rn T[index[i]].selected=1;rn/*进行完一轮选择后,index[i]即为选出的权值最小的结点的下标,于是将选出的该结点的被选标志置1,因此下一轮选择时便会跳过此结点不选。rn然后继续在规定的数组结点中寻找第二个最小结点*/rn rn /*将选出的最小和次小结点的下标值分别赋给*s1和*s2*/ rn *s1=index[0];rn *s2=index[1];rnrn/*-------------------构造用于编码的哈夫曼树-------------------------------------------------*/rnvoid HuffmanCoding(HTNode T[],int n) rnrn /*参数n为要进行编码的结点数,也就是所构成的哈夫曼树的叶子结点数*/rn int i,m,s1,s2;rn m=2*n-1; /*m为该哈夫曼树的总结点数*/rn for(i=n;i
Eclipse报内存溢出
开发十年,就只剩下这套架构体系了! >>> ...
springboot启动,报jdbc连接池的错误
2017-03-07 11:40:16.127 ERROR 31460 --- [pool-1-thread-1] o.a.tomcat.jdbc.pool.ConnectionPool      : Unable to create initial connections of pool. com.mysql.jdbc.exceptions.jdbc4.CommunicationsEx
springboot整合rabbitmq,启动报空指针异常(NullPointerException)
<!-- 版本1.5.13 --> <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>1.5.13.RELEAS...
springboot项目启动,但是访问报404错误
        今天在做一个springboot项目的时候,是接着别人的项目写的,写完之后想做一下测试,于是就启动了springboot,然后在放问的时候,一直包404的错误,然后百度了一下网上给的方法,包括注解使用@RestController,然后去除掉方法@RequestMapping(value = "/add")中的“value=”,这个方法对我无用,因为我的项目之前就是用的@RestC...
springboot 启动报找不到注入的bean
springboot 启动报找不到注入的bean 检查所有的注解 发现model类@Entity缺失  
apache刚安装就启动不了!
apache刚安装就启动不了!rnrnhttpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.7.61 for ServerNamern[Wed Sep 03 22:50:22 2008] [notice] Apache/2.2.9 (Win32) configured -- resuming normal operationsrn[Wed Sep 03 22:50:22 2008] [notice] Server built: Jun 13 2008 04:04:59rn[Wed Sep 03 22:50:22 2008] [notice] Parent: Created child process 3132rnhttpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.7.61 for ServerNamernhttpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.7.61 for ServerNamern[Wed Sep 03 22:50:22 2008] [notice] Child 3132: Child process is runningrn[Wed Sep 03 22:50:22 2008] [crit] (OS 10022)提供了一个无效的参数。 : Child 3132: setup_inherited_listeners(), WSASocket failed to open the inherited socket.rn[Wed Sep 03 22:50:22 2008] [crit] Parent: child process exited with status 3 -- Aborting.rn请大家帮帮忙!
刚装完eclipse,一启动就失败..
我先后安装了rnjdk-6u16-windows-i586.exernsun_java_wireless_toolkit-2_5_2-ml-windows.exern然后解压rneclipse-SDK-3.5-win32.ziprnrn但当启动eclipse.exe时就报错.rnrnlog文件内容如下:rnrnrn!SESSION Fri Aug 21 09:50:58 CST 2009 ------------------------------------------rn!ENTRY org.eclipse.equinox.launcher 4 0 2009-08-21 09:50:58.981rn!MESSAGE Exception launching the Eclipse Platform:rn!STACKrnjava.lang.ClassNotFoundException: org.eclipse.core.runtime.adaptor.EclipseStarterrn at java.net.URLClassLoader$1.run(Unknown Source)rn at java.security.AccessController.doPrivileged(Native Method)rn at java.net.URLClassLoader.findClass(Unknown Source)rn at java.lang.ClassLoader.loadClass(Unknown Source)rn at java.lang.ClassLoader.loadClass(Unknown Source)rn at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:556)rn at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)rn at org.eclipse.equinox.launcher.Main.run(Main.java:1311)rn at org.eclipse.equinox.launcher.Main.main(Main.java:1287)rnrnrn请问怎么办?
为什么电脑刚启动就黑屏?!!!
我的电脑为什么在刚开机时,电脑就黑屏.rnrn我一下直没有办法~rnrnHELP ME!!! THANKES.
新安装的docker,刚启动就报错!!!
[img=https://img-bbs.csdn.net/upload/201805/31/1527751559_435732.png][/img]rnrn[img=https://img-bbs.csdn.net/upload/201805/31/1527751813_89742.png][/img]rnrn以前装过,后来更新,docker崩了。就卸载了重新安装的。求助,怎么解决rnrn先谢谢各位大佬了!!!!rnrnrn
VS2008刚一启动几秒钟就消失?
如题,急,求解决办法,谢谢大家。
如何让程序刚启动就自动隐藏
我用DELPHI编写了一个局域网的通讯软件。rn想让客户端一开机就运行,并且自动隐藏,不在任务栏中显示,亦不会出现在任务列表中。rnrn谢谢各位,希望能提供完整解决方案及关键代码。
SSH整合,启动tomcat服务器就报异常。。
[color=#FF6600][size=18px]异常信息:[/size][/color]rnrn信息: Initializing Spring root WebApplicationContextrn11:45:19,059 ERROR ContextLoader:336 - Context initialization failedrnjava.lang.NoSuchMethodError: org.springframework.web.context.ConfigurableWebApplicationContext.getEnvironment()Lorg/springframework/core/env/ConfigurableEnvironment;rn at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:397)rn at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)rn at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106)rn at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4992)rn at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5490)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1247)rn at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1898)rn at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)rn at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)rn at java.util.concurrent.FutureTask.run(FutureTask.java:138)rn at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)rn at java.lang.Thread.run(Thread.java:619)rn2014-10-7 11:45:19 org.apache.catalina.core.StandardContext listenerStartrn严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListenerrnjava.lang.NoSuchMethodError: org.springframework.web.context.ConfigurableWebApplicationContext.getEnvironment()Lorg/springframework/core/env/ConfigurableEnvironment;rn at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:397)rn at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)rn at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106)rn at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4992)rn at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5490)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1247)rn at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1898)rn at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)rn at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)rn at java.util.concurrent.FutureTask.run(FutureTask.java:138)rn at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)rn at java.lang.Thread.run(Thread.java:619)rn2014-10-7 11:45:19 org.apache.catalina.core.StandardContext startInternalrn严重: Error listenerStartrn2014-10-7 11:45:19 org.apache.catalina.core.StandardContext startInternalrn严重: Context [/futureOA] startup failed due to previous errorsrn2014-10-7 11:45:19 org.apache.catalina.core.ApplicationContext logrn信息: Closing Spring root WebApplicationContextrn2014-10-7 11:45:19 org.apache.catalina.startup.HostConfig deployDirectoryrnrn[color=#FF9900][size=18px]web.xml:[/size][/color]rnrnrnrn rn rn org.springframework.web.context.ContextLoaderListenerrn rn rn rn contextConfigLocationrn classpath:applicationContext*.xmlrn rn rn rn rn struts2rn org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilterrn rnrn rn struts2rn /*rn rnrn rn index.htmlrn rnrnrnrn[color=#FF9900][size=24px]求大神帮忙解决!!![/size][/color]rn
Tomcat启动就报一个警告!
这个是怎么回事呢?每次启动都报,但是可以正常使用,就是一直报这个!rnrn2006-11-20 10:36:14 org.logicalcobwebs.proxool.Prototyper sweeprn严重: Prototypernjava.sql.SQLException: Unable to connect to any hosts due to exception: java.netrn.ConnectException: Connection refused: connectrn at com.mysql.jdbc.Connection.createNewIO(Connection.java:1797)rn at com.mysql.jdbc.Connection.(Connection.java:562)rn at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.javarn:361)rn at java.sql.DriverManager.getConnection(DriverManager.java:525)rn at java.sql.DriverManager.getConnection(DriverManager.java:140)rn at org.logicalcobwebs.proxool.ProxyFactory.buildProxyConnection(ProxyFacrntory.java:41)rn at org.logicalcobwebs.proxool.Prototyper.buildConnection(Prototyper.javarn:150)rn at org.logicalcobwebs.proxool.Prototyper.sweep(Prototyper.java:95)rn at org.logicalcobwebs.proxool.PrototyperThread.run(PrototyperThread.javarn:42)rn
tomcat 没启动访问就报503
今天突然出现的问题,在测试写的代码,运行在tomcat之后,访问页面只有一个 EOF 没有任何东西。浏览器控制台报503错误。一直调试这个错误。后来偶然发现没有启动本地tomcat去访问也是报这个错误。我现在怀疑我现在访问到的根本就不是我启动的那个服务器。这有可能会是什么问题?[img=https://img-bbs.csdn.net/upload/201706/28/1498644567_582367.png][/img][img=https://img-bbs.csdn.net/upload/201706/28/1498644574_672412.png][/img][img=https://img-bbs.csdn.net/upload/201706/28/1498644580_587469.png][/img][img=https://img-bbs.csdn.net/upload/201706/28/1498644586_994577.png][/img]
一启动OracleServiceORCL服务就报1053
新手,oracle好久不用了,现在想练练,别的服务都能开启,可是一开启OracleServiceORCL服务就报1053rn[img=https://img-bbs.csdn.net/upload/201511/27/1448584785_623678.png][/img]rn怎么解决,谢谢大家
springboot+jpa 单元测试的时候启动就报错了
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJp...
tomcat启动,提示内存溢出
tomcat下bin文件夹内容修改 1.catalina.bat文件:在@echo off后面追加 set JAVA_OPTS=-server -Xms5120m -Xmx20480m -XX:PermSize=512M -XX:MaxPermSize=5g -Xss256K -XX:+DisableExplicitGC -XX:SurvivorRatio=1 -XX:+UseConcMark
bat启动程序 内存溢出
使用bat启动程序 实现数据导出时,出现内存溢出错误,谁遇到过 帮忙解决一下,谢谢
MyEclipse8.6 项目启动内存溢出
MyEclipse has detected that less than 5% of ... 解决方案 在MyEclipse的安装目录下设置myeclipse.ini设置如下: 要查看你修改的的配置是否生效,你可以用Windows->Preferences->General ,勾选 Show heap status.会在右下角弹出一个垃圾箱的图标,会显示当前的内存使用情况,
tomcat 启动内存溢出 !!!
WARN 2016-05-25 18:18:36,714 com.gbc.sapphire.action.BusyInterceptor < java.lang.OutOfMemoryError > PermGen spacen java.lang.ClassLoader.defineClass1(Native Method)n java.lang.ClassLoader.defineClass(ClassLoader.java:800)n java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)n org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2957)n org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1210)n org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1690)n org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571)n freemarker.template.Template.(Template.java:166)n freemarker.cache.TemplateCache.loadTemplate(TemplateCache.java:447)n freemarker.cache.TemplateCache.getTemplate(TemplateCache.java:360)n freemarker.cache.TemplateCache.getTemplate(TemplateCache.java:235)n freemarker.template.Configuration.getTemplate(Configuration.java:578)n freemarker.template.Configuration.getTemplate(Configuration.java:550)n org.apache.struts2.views.freemarker.FreemarkerResult.doExecute(FreemarkerResult.java:173)n com.gbc.sapphire.action.FreeMarkerResult.doExecute(FreeMarkerResult.java:31)n org.apache.struts2.dispatcher.StrutsResultSupport.execute(StrutsResultSupport.java:186)n com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:371)n com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:275)n com.gbc.sapphire.action.BusyInterceptor.intercept(BusyInterceptor.java:61)n com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)n org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:54)n org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:563)n org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77)n org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:99)n org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)n org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)n com.gbc.sapphire.dao.DaoFilter.doFilter(DaoFilter.java:34)n org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)n org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)n com.gbc.diamond.util.HeaderFilter.doFilter(HeaderFilter.java:44)n org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)n org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)n执行BusyInterceptor时发生异常!nWARN 2016-05-25 18:18:36,714 com.gbc.sapphire.action.BusyInterceptor < java.lang.OutOfMemoryError > PermGen spacen java.lang.ClassLoader.defineClass1(Native Method)n java.lang.ClassLoader.defineClass(ClassLoader.java:800)n java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)n org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2957)n org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1210)n org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1690)n org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571)n freemarker.template.Template.(Template.java:166)n freemarker.cache.TemplateCache.loadTemplate(TemplateCache.java:447)n freemarker.cache.TemplateCache.getTemplate(TemplateCache.java:360)n freemarker.cache.TemplateCache.getTemplate(TemplateCache.java:235)n freemarker.template.Configuration.getTemplate(Configuration.java:578)n freemarker.template.Configuration.getTemplate(Configuration.java:550)n org.apache.struts2.views.freemarker.FreemarkerResult.doExecute(FreemarkerResult.java:173)n com.gbc.sapphire.action.FreeMarkerResult.doExecute(FreeMarkerResult.java:31)n org.apache.struts2.dispatcher.StrutsResultSupport.execute(StrutsResultSupport.java:186)n com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:371)n com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:275)n com.gbc.sapphire.action.BusyInterceptor.intercept(BusyInterceptor.java:61)n com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)n org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:54)n org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:563)n org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77)n org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:99)n org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)n org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)n com.gbc.sapphire.dao.DaoFilter.doFilter(DaoFilter.java:34)n org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)n org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)n com.gbc.diamond.util.HeaderFilter.doFilter(HeaderFilter.java:44)n org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)n org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)n执行BusyInterceptor时发生异常!n跑两个项目会报错
启动内存溢出问题
现象:npm或者webpack启动项目报内存溢出 处理:要找到对应的npm或者webpack的cmd执行命令文件,然后加上参数max_old_space_size=4096 例如 node --max_old_space_size=4096 &quot;%~dp0\node_modules\webpack-dev-server\bin\webpack-dev-server.js&quot; %*   问题处...
启动内存溢出的解决
若是在eclipse内部启动tomcat,报内存太小或内存溢出,可以在eclipse中进行jvm内存设置。 window->preferences->java->installedjres 选择JDK的版本edit:default vm arguments 填写: -Xms256m –Xmx1024m 注意:这个参数可根据本机的内存大小进行调整。 default vm arg
tomcat启动内存溢出问题
很明显,启动时,tomcat需要的内存不够,下面进行图解 加java虚拟机内存     -Xmx1024m -Xms512m -XX:MaxPermSize=256m -XX:PermSize=128M
springboot 项目启动就闪退(解决方案)
&amp;lt;dependency&amp;gt; &amp;lt;groupId&amp;gt;org.springframework.boot&amp;lt;/groupId&amp;gt; &amp;lt;artifactId&amp;gt;spring-boot-starter-web&amp;lt;/artifactId&amp;gt; &amp;lt;/dependency&amp;gt;
TOMCAT启动war包内存溢出
总结: OutOfMemoryError: PermGen space最终的设置方式为,在apache-tomcat-7.0.92\bin 目录下: catalina.bat文件添加一行: set JAVA_OPTS=%JAVA_OPTS% -server -Xms800m -Xmx800m -XX:MaxNewSize=256m -XX:PermSize=128m -XX:MaxPermSize...
内存溢出ECLIPSE启动TOMCAT
1.在eclipse中的Window-&amp;gt;preferences-&amp;gt;Java-&amp;gt;install jar-&amp;gt;选择JDK,然后在点击Edit,在Default VM arguments中输入: -server -Xms512m -Xmx512m -XX:PermSize=256m -XX:MaxPermSize=256m...
sh+tomcat 启动时报内存溢出
ERROR o.s.web.context.ContextLoader - Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in URL [file:/D:/Pr...
相关热词 c#检测非法字符 c#双屏截图 c#中怎么关闭线程 c# 显示服务器上的图片 api嵌入窗口 c# c# 控制网页 c# encrypt c#微信网页版登录 c# login 居中 c# 考试软件