在启动Broker的时候报Invalid maximum direct memory size: -XX:MaxDirectMemorySize=15g
Invalid maximum direct memory size: -XX:MaxDirectMemorySize=15g
The specified size exceeds the maximum representable size.
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
这需要将这里改成一样的
一运行RocketMQ工具测试消息收发就导致jps失效
有可能是jdk没有设置路径,和localhost要改成你自己的ip要改runserver.sh中和runbroker.sh的路径
在conf里面修改一下broker.conf,增加如下
namesrvAddr = 192.168.150.131:9876
brokerIP1 = 192.168.150.131