美文网首页
2020-11-18记一次本地启动java项目后一直报错

2020-11-18记一次本地启动java项目后一直报错

作者: 翔哥不哭 | 来源:发表于2022-10-21 15:05 被阅读0次
    • 第一类错误
    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]
    
    • 第二类错误
    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 启动没有报错了,debug 运行才会报错

    相关文章

      网友评论

          本文标题:2020-11-18记一次本地启动java项目后一直报错

          本文链接:https://www.haomeiwen.com/subject/krdciktx.html