Subject: | Out of memory errors in test suite |
On my smoker Net-EPP-Registry-Nominet's test suite fails with Out of memory errors. See http://matrix.cpantesters.org/?dist=Net-EPP-Registry-Nominet%200.01;os=freebsd;reports=1#sl=5,1 for an overview and http://www.cpantesters.org/cpan/report/3be0e796-5418-11e3-a074-b2abe0bfc7aa for a sample report.
The smoker machine has a memory limit of 500MB (which is usually enough) and explains why other smokers don't show the problem. I was curious and tracked the problem down to an unexpected server response. In Net::EPP::Protocol::get_frame, a read from the filehandle would yield "92.225.XXX.XXX is not authorized to connect to this service. Closing...\cM\cJ". The first four bytes of the response ("92.2") are used as the header length, and unpacked this was quite a large number, causing the Out of memory error in one of the following reads().
Regards,
Slaven