- 第一類錯(cuò)誤
2020-11-18 14:15:27.726 WARN 3778 --- [ioEventLoop-4-2] io.lettuce.core.protocol.CommandHandler : null Unexpected exception during request: java.lang.OutOfMemoryError: unable to create new native thread
java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method) [na:1.8.0_162]
at java.lang.Thread.start(Thread.java:717) [na:1.8.0_162]
at org.springframework.core.task.SimpleAsyncTaskExecutor.doExecute(SimpleAsyncTaskExecutor.java:237) ~[spring-core-5.2.6.RELEASE.jar:5.2.6.RELEASE]
at org.springframework.core.task.SimpleAsyncTaskExecutor.execute(SimpleAsyncTaskExecutor.java:195) ~[spring-core-5.2.6.RELEASE.jar:5.2.6.RELEASE]
at org.springframework.core.task.SimpleAsyncTaskExecutor.execute(SimpleAsyncTaskExecutor.java:174) ~[spring-core-5.2.6.RELEASE.jar:5.2.6.RELEASE]
at org.springframework.data.redis.listener.RedisMessageListenerContainer.dispatchMessage(RedisMessageListenerContainer.java:986) ~[spring-data-redis-2.2.7.RELEASE.jar:2.2.7.RELEASE]
- 第二類錯(cuò)誤
020-11-18 14:19:06.971 [WARN ] [lettuce-nioEventLoop-4-2] i.l.c.p.CommandHandler 220 : null Unexpected exception during request: java.lang.OutOfMemoryError: unable to create new native thread
java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(Thread.java:717)
at org.springframework.core.task.SimpleAsyncTaskExecutor.doExecute(SimpleAsyncTaskExecutor.java:237)
at org.springframework.core.task.SimpleAsyncTaskExecutor.execute(SimpleAsyncTaskExecutor.java:195)
at org.springframework.core.task.SimpleAsyncTaskExecutor.execute(SimpleAsyncTaskExecutor.java:174)
at org.springframework.data.redis.listener.RedisMessageListenerContainer.dispatchMessage(RedisMessageListenerContainer.java:986)
at org.springframework.data.redis.listener.RedisMessageListenerContainer.access$1400(RedisMessageListenerContainer.java:73)
run 啟動(dòng)沒(méi)有報(bào)錯(cuò)了亏狰,debug 運(yùn)行才會(huì)報(bào)錯(cuò)