That isn't a "perl problem".
Your zcat binary isn't built to handle large (>2GB) files.
In reply to Re: Reading large files by BrowserUk in thread Reading large files by ahoriuch