Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Download and Extract HiveMQ:

    • First, you need to download the HiveMQ ZIP file from the official HiveMQ website. https://www.hivemq.com/download/

    • Unzip the folder to C:\ e.g. C:\hivemq-4.25.1

    • Rename this folder to hivemq so the path looks like C:\hivemq

    • Files inside the folder would have a structure e.g. C:\hivemq\bin

  • Doing sanity checks

    • Setting Heap to 50% of system memory (2GB minimum, 4GB in this installation as RAM is 8 GB)

      • Go to C:\hivemq\bin

      • Open the run.bat file with notepad Notepad or any other editor

      • Search for the VARIABLES section

      • Add the heap configuration (4 GB in this case)
        set "JAVA_OPTS=%JAVA_OPTS% -Xmx4g"

      • Save the file

  • Run HiveMQ broker

    • Go to C:\hivemq\bin

    • Right-click on the file “run.bat” and run it as an administrator

    • This should start the HiveMQ process as shown below

...