Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Do
-
1.6
-
None
-
None
Description
use apollo + mqtt to publish message,but when have 100,000 clients, the apollo.log prints:
2014-02-18 19:31:28,475 | WARN | java.lang.OutOfMemoryError: Java heap space | 14444b747fc
2014-02-18 19:31:28,475 | WARN | java.lang.OutOfMemoryError: Java heap space | 14444b747fd
2014-02-18 19:31:35,422 | WARN | java.lang.OutOfMemoryError: Java heap space | 14444b747fe
2014-02-18 19:31:41,703 | WARN | java.lang.OutOfMemoryError: GC overhead limit exceeded | 14444b747ff
2014-02-18 19:31:54,934 | WARN | java.lang.OutOfMemoryError: GC overhead limit exceeded | 14444b74800
2014-02-18 19:32:07,494 | WARN | java.lang.OutOfMemoryError: Java heap space | 14444b74803
2014-02-18 19:32:01,211 | WARN | java.lang.OutOfMemoryError: Java heap space | 14444b74802
2014-02-18 19:32:01,211 | WARN | java.lang.OutOfMemoryError: Java heap space | 14444b74801
use export JVM_FLAGS="-server -Xmx3G -Xms1G" in apollo-service
my system is linux (CentOS 6.5),32G memory,8 cpus