When queuing data of sending to clients, the Relay plugin builds a partial buffer.
There is no limit for the allocated buffer.
A malicious unauthenticated client sending PING control frames can can lead to memory exhaustion and the WeeChat process can be killed by the OOM killer.
Mitigation
Unload relay plugin with command: /plugin unload relay and see: /help weechat.plugin.autoload.