My Perl script generates the following error message:
Out of memory during request for 4201716 bytes, total sbrk() is 398184448 bytes!
Then, it dies. This does not occur during any constant iteration of my program, but typically after processing between 20,000 and 50,000 records from a MySQL database. The program's memory usage seems to cycle between 20 MB and 120 MB during normal operation, so I doubt that there is a memory leak. My OS is Windows XP, and I'm using Perl on Cygwin.