From owner-freebsd-questions Sat Dec 13 21:10:05 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id VAA09711 for questions-outgoing; Sat, 13 Dec 1997 21:10:05 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from bbs.dcoisp.net (bbs.dcoisp.net [208.128.192.226]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id VAA09673 for ; Sat, 13 Dec 1997 21:09:58 -0800 (PST) (envelope-from ringlord@bbs.dcoisp.net) From: ringlord@bbs.dcoisp.net Received: from MHS by bbs.dcoisp.net with MHS id BFALALEJ ; Sat, 13 Dec 1997 21:11:24 -0500 Date: Sat, 13 Dec 1997 21:11:12 -0500 Message-ID: Subject: perl memory use question. To: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hello to all. I am running a freebsd box with 128 megs of ram, 400 megs of swap space and I am running into a bit of a perl problem. This box is used as a webserver running the apache 1.3 webserver. One of my clients tries to run a perl script as part of his nightly CRON job. The error message from the cron daemon reads: file /home/www/twc-online/cgi/weblog/adverts.pl out of memory!" I went back and examined the /var/log/messages file for clues. Initially, when that out of memory error poped up, I was only running a small portion of swap space. I increased swap, and the swap_pager, out of swap space message has disappeared from my messages file. However, the script still can not complete, do to the lack of memory supposedly. Is this just simpley a case of needing yet more ram? :) Would increasing swap space help at all? I wouldn't think so, due to a lack of an out of swap space error in my files. Thanks. Jeremy