XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.6
    • Fix Version/s: None
    • Component/s: apollo-broker
    • Labels:
      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

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              oscar chen oscar
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: