artnet to dmx project. memory issues?

I had the same problem, reported here

what is the size of your UDP_TX_PACKET_MAX_SIZE
Its defined in the Udp.h or EthernetUdp.h , depending on which arduino version you are using.
I am asking, because sometime people tinker with this value.

Try to change your code from
char packetBuffer[UDP_TX_PACKET_MAX_SIZE];
into
char packetBuffer[512];
// packetBuffer[512] is working for me on Uno, but you should aim using the value originally which was 2048