Arduino Mega + Ethernet shield block in 4 hour

Hi,

I put the ethernet shield over a arduino mega 2560 and run a simple sketch that read an RSS on internet and turn on or off a led.

After some hours it stops working and I have to reset arduino mega.

Any suggestion?

Arrrgh!

I found an error on the code, there's a client.read() without checking client.available().

I am going to fix it.

Bye.