主题 : 开源1.4
级别: 论坛管理员
UID: 122721
积分:57884 加为好友
威望: 2 精华: 1
主题:5 回复:50085
注册时间:2018-05-07
在线时长:0
11#   发表于:2020-09-29 14:37:56  IP:182.30.*.*
Java heap space
没内存了

每天告诉自己一次,“我真的很不错”。
级别: 贡士
UID: 135477
积分:768 加为好友
威望: 21 精华: 0
主题:72 回复:319
注册时间:2020-08-05
在线时长:0
12#   发表于:2020-09-29 14:42:06  IP:222.155.*.*
我在tomcat中的catalina.bat文件中添加过
set JAVA_OPTS=-Xms256m -Xmx1024m  还是会有这个问题
级别: 论坛管理员
UID: 122721
积分:57884 加为好友
威望: 2 精华: 1
主题:5 回复:50085
注册时间:2018-05-07
在线时长:0
13#   发表于:2020-09-29 14:54:18  IP:182.30.*.*
找了个博客  您可以试下
https://blog.csdn.net/weixin_37791303/article/details/87816842
每天告诉自己一次,“我真的很不错”。
级别: 贡士
UID: 135477
积分:768 加为好友
威望: 21 精华: 0
主题:72 回复:319
注册时间:2020-08-05
在线时长:0
14#   发表于:2020-09-29 15:55:11  IP:222.155.*.*
回复第13楼

您好  我现在上传附件一直有这个警告
9-29 15:53:06.091 [Replication Thread] WARN  n.s.e.distribution.RMIAsynchronousCacheReplicator - 19 messages were discarded on replicate due to reclamation of SoftReferences by the VM. Consider increasing the maximum heap size and/or setting the starting heap size to a higher value.
2020-09-29 15:53:09.912 [Replication Thread] WARN  n.s.e.distribution.RMIAsynchronousCacheReplicator - 21 messages were discarded on replicate due to reclamation of SoftReferences by the VM. Consider increasing the maximum heap size and/or setting the starting heap size to a higher value.
2020-09-29 15:53:13.191 [Replication Thread] WARN  n.s.e.distribution.RMIAsynchronousCacheReplicator - 5 messages were discarded on replicate due to reclamation of SoftReferences by the VM. Consider increasing the maximum heap size and/or setting the starting heap size to a higher value.
2020-09-29 15:53:17.494 [Replication Thread] WARN  n.s.e.distribution.RMIAsynchronousCacheReplicator - 13 messages were discarded on replicate due to reclamation of SoftReferences by the VM. Consider increasing the maximum heap size and/or setting the starting heap size to a higher value.
2020-09-29 15:53:20.603 [Replication Thread] WARN  n.s.e.distribution.RMIAsynchronousCacheReplicator - 12 messages were discarded on replicate due to reclamation of SoftReferences by the VM. Consider increasing the maximum heap size and/or setting the starting heap size to a higher value.
2020-09-29 15:53:23.617 [Replication Thread] WARN  n.s.e.distribution.RMIAsynchronousCacheReplicator - 7 messages were discarded on replicate due to reclamation of SoftReferences by the VM. Consider increasing the maximum heap size and/or setting the starting heap size to a higher value.
根据百度在context添加数据也不对
级别: 论坛管理员
UID: 122721
积分:57884 加为好友
威望: 2 精华: 1
主题:5 回复:50085
注册时间:2018-05-07
在线时长:0
15#   发表于:2020-09-29 15:58:15  IP:182.30.*.*
onsider increasing the maximum heap size and/or setting the starting heap size to a higher value.
不还是提示内存不够吗?
每天告诉自己一次,“我真的很不错”。
级别: 贡士
UID: 135477
积分:768 加为好友
威望: 21 精华: 0
主题:72 回复:319
注册时间:2020-08-05
在线时长:0
16#   发表于:2020-09-29 16:02:44  IP:222.155.*.*
回复第15楼、
但是我加了内存 总是提示不够
级别: 论坛管理员
UID: 122721
积分:57884 加为好友
威望: 2 精华: 1
主题:5 回复:50085
注册时间:2018-05-07
在线时长:0
17#   发表于:2020-09-29 16:04:48  IP:182.30.*.*
您有按我发您的哪个博客里面介绍的去改吗?
每天告诉自己一次,“我真的很不错”。
|< < 1 2 共2页