I’ve now tried Julia 1.9 with a few different values for --heap-size-hint=<size>
. I haven’t tested it extensively but It does seem to stabilise things a bit for a value of around 5M. It does still drop data occasionally and the CPU usage is high but at least it’s fairly constant. Previously CPU would start at 10% and end up after 20 min at around 25%, dropping data massively.
Disabling threads doesn’t work in my case as it means data can’t be queued while processing and display is going on.
I’d really like to try using a non-allocating recv_into!()
. I’d try writing one myself but just I don’t know how to go about it. Is there a way of submitting a feature request for Sockets?