Subject: Re: "Allowed memory size of 8388608 bytes exhausted" installing www/php4
To: Joel CARNAT <joel@carnat.net>
From: Quentin Garnier <cube@cubidou.net>
List: pkgsrc-users
Date: 03/04/2006 18:44:03
--PYn5GdOhTT6Zr5C/
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Mar 04, 2006 at 06:28:07PM +0100, Joel CARNAT wrote:
> Hi,
>=20
> on my way to update www/php4 (on NetBSD/sparc64 3.0), I ended there :
> #########################################################################=
###
> Build complete.
> (It is safe to ignore warnings about tempnam and tmpnam).
>=20
> =3D> Unwrapping files-to-be-installed.
> =3D=3D=3D> Installing for php-4.4.2
> =3D=3D=3D> Becoming root@thundera.tumfatig.net to install php.
> /usr/pkg/bin/sudo Installing PHP SAPI module:       cgi
> Installing PHP CGI into: /usr/pkg/bin/
> Installing PEAR environment:      /usr/pkg/lib/php/
> warning : bad md5sum for file /usr/pkg/lib/php/Archive/Tar.php
>=20
> Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
> allocate 92160 bytes) in
> /tmp/pkgwork/www/php4/work/php-4.4.2/pear/PEAR/PackageFile/Generator/v1.p=
hp
> on line 604
[...]
> any clue on this ?
> memory trouble, php compilation issue ?

Try cranking up the data size limit (ulimit, limit, sysctl, login class,
whichever method you prefer).

--=20
Quentin Garnier - cube@cubidou.net - cube@NetBSD.org
"When I find the controls, I'll go where I like, I'll know where I want
to be, but maybe for now I'll stay right here on a silent sea."
KT Tunstall, Silent Sea, Eye to the Telescope, 2004.

--PYn5GdOhTT6Zr5C/
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (NetBSD)

iQEVAwUBRAnR49goQloHrPnoAQLSogf+KwE0BHx6vZ67P7tq5zghDc8L2tjffVBd
3RfNaqLwhfcEBNunD98coyXQr4DGpWxVfjG82Y7O6WBukIrOZ/hvUE8DQtQslw8p
4p4WdtB1yHjlkIOxmamNacjtyHzqqPVvscu+I7Uy36X8uezOroYhaA7nOI2RLLpP
xKEmnI2CMuoKDlxXVWU+ywhCcctDFmQ0YL1XwGZMwZpL/4ee71NZ1EKm2syegdI2
o/RbHs1nEy0ICgLoVcnJGTg34NtFgr6Ns7IXE8PPqpIdIINt6/26u4CUabWum22j
VWQvOMl5lg5SzcPtysd/KIVgiFooxz4qGQpQcK1PC2DCj7e65yKFDA==
=9bV3
-----END PGP SIGNATURE-----

--PYn5GdOhTT6Zr5C/--