[ https://issues.apache.org/jira/browse/APLO-351?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13906941#comment-13906941 ]
Hiram Chirino commented on APLO-351: ------------------------------------ 80,000 in 3G of memory is more clients than I would expect. I suspect your not running any load on on those clients. Once you start running messaging load on the broker, it's going to need even more memory. '-Xms6G -Xms1G ' does not seem valid to me. Did you mean to do ' -Xmx6G -Xms1G'? In any case if the apollo-broker-service fails to startup a broker, try starting the broker in the foreground using 'apollo-broker run'. That way is you can see if the JVM outputs any errors to the console screen. > out of memory > ------------- > > Key: APLO-351 > URL: https://issues.apache.org/jira/browse/APLO-351 > Project: ActiveMQ Apollo > Issue Type: Bug > Components: apollo-broker > Affects Versions: 1.6 > Reporter: oscar > Attachments: 18AADBAA-5058-4344-AAC0-D1C51891C194.png, > 37DF6BCA-9707-4583-943D-C0D0B6408FDD.png, > 8ADF01D2-47BB-4666-8D40-145BBC55B593.png > > > 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 -- This message was sent by Atlassian JIRA (v6.1.5#6160)