Java HotSpot™ 64-Bit Server VM warning: Insufficient space for shared memory file:
63985
Try using the -Djava.io.tmpdir= option to select an alternate temp location.
Caused by: java.lang.IllegalStateException: Unable to create the directory [/tmp/tomcat.2651701784775935776.8081] to use as the base directory
at org.apache.catalina.startup.Tomcat.initbaseDir(Tomcat.java:816)
at org.apache.catalina.startup.Tomcat.getServer(Tomcat.java:625)
at org.apache.catalina.startup.Tomcat.getService(Tomcat.java:558)
at org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory.getWebServer(TomcatServletWebServerFactory.java:169)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.createWebServer(ServletWebServerApplicationContext.java:179)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:152)
1、首先错误提示的是内存不足,解决方法就是将内存调大即可,但是如果是自己部署线上项目中出现,
就要多检查是不是代码 *** 作的原因,将大数据文件与代码放到了一起,正常来说,会将代码的目录与要使用或者生成的数据放在不同的目录下,这时候只需要改正代码即可。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)