[Mapserver-users] php_mapscript memory error
Nuno Cabrita
nuno.cabrita at elementodigital.pt
Thu Jul 17 11:06:49 PDT 2003
This is a multi-part message in MIME format.
------=_NextPart_000_0019_01C34C96.9361EE60
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
That doesn=92t seen to work. I raise the memory_limit to 100M but I =
still
get an error.
The instruction at =930x77f58d2c=94 referenced memory at =
=930x00f90f30=94. The
memory could not be =93written=94.
=20
-----Original Message-----
From: mapserver-users-admin at lists.gis.umn.edu
[mailto:mapserver-users-admin at lists.gis.umn.edu] On Behalf Of Prashanth
Ram
Sent: quinta-feira, 17 de Julho de 2003 17:45
To: Nuno Cabrita
Cc: mapserver-users at lists.gis.umn.edu
Subject: Re: [Mapserver-users] php_mapscript memory error
=20
In the php.ini file is a line (see below) which tells how much memory
php can take. It's usually capped @ 8MB. Just change it should work.=20
-Prashanth=20
memory_limit =3D 8M ; Maximum amount of memory a script may consume
(8MB)=20
Nuno Cabrita wrote:=20
I have just compile mapserver 3.6.6 with gd 1.8.4, and created the PHP
module (php_mapscript.dll) for PHP 4.2.3.
Almost everything works, but when I try to create a dbase file for a
shape I get a php memory error.
Does anyone had the same problem?=20
Does anyone have a clue of what it could be?=20
Elemento Digital,=20
Consultoria, Marketing e Desenvolvimento Inform=E1tico, Lda=20
*********************************************************************=20
Site: www.elementodigital.pt <http://www.elementodigital.pt/> =20
Tel: +351 265 530 140=20
Fax: +351 265 530 149=20
Avenida Bento Gon=E7alves, 22B=20
2910-431 Set=FAbal=20
PORTUGAL=20
*********************************************************************=20
------=_NextPart_000_0019_01C34C96.9361EE60
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<meta name=3DProgId content=3DWord.Document>
<meta name=3DGenerator content=3D"Microsoft Word 10">
<meta name=3DOriginator content=3D"Microsoft Word 10">
<link rel=3DFile-List href=3D"cid:filelist.xml at 01C34C96.929094A0">
<!--[if gte mso 9]><xml>
<o:OfficeDocumentSettings>
<o:DoNotRelyOnCSS/>
</o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:WordDocument>
<w:GrammarState>Clean</w:GrammarState>
<w:DocumentKind>DocumentEmail</w:DocumentKind>
<w:HyphenationZone>21</w:HyphenationZone>
<w:EnvelopeVis/>
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
</w:WordDocument>
</xml><![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;
mso-font-charset:0;
mso-generic-font-family:swiss;
mso-font-pitch:variable;
mso-font-signature:1627421319 -2147483648 8 0 66047 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-parent:"";
margin:0cm;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;
text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;
text-underline:single;}
p
{mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";}
span.EmailStyle18
{mso-style-type:personal;
mso-style-noshow:yes;
mso-ansi-font-size:10.0pt;
mso-bidi-font-size:10.0pt;
font-family:Arial;
mso-ascii-font-family:Arial;
mso-hansi-font-family:Arial;
mso-bidi-font-family:Arial;
color:windowtext;}
span.EmailStyle19
{mso-style-type:personal-reply;
mso-style-noshow:yes;
mso-ansi-font-size:10.0pt;
mso-bidi-font-size:10.0pt;
font-family:Arial;
mso-ascii-font-family:Arial;
mso-hansi-font-family:Arial;
mso-bidi-font-family:Arial;
color:navy;}
span.GramE
{mso-style-name:"";
mso-gram-e:yes;}
@page Section1
{size:595.3pt 841.9pt;
margin:70.85pt 3.0cm 70.85pt 3.0cm;
mso-header-margin:35.4pt;
mso-footer-margin:35.4pt;
mso-paper-source:0;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 10]>
<style>
/* Style Definitions */=20
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-parent:"";
mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
mso-para-margin:0cm;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:"Times New Roman";}
</style>
<![endif]-->
</head>
<body lang=3DPT link=3Dblue vlink=3Dpurple =
style=3D'tab-interval:35.4pt'>
<div class=3DSection1>
<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
lang=3DEN-GB
style=3D'font-size:10.0pt;font-family:Arial;color:navy;mso-ansi-language:=
EN-GB'>That
doesn’t <span class=3DGramE>seen</span> to work. I raise the =
memory_limit
to 100M but I still get an error.<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
lang=3DEN-GB
style=3D'font-size:10.0pt;font-family:Arial;color:navy;mso-ansi-language:=
EN-GB'>The
instruction at “0x77f58d2c” referenced memory at =
“0x00f90f30”.
The memory could not be =
“written”.<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
lang=3DEN-GB
style=3D'font-size:10.0pt;font-family:Arial;color:navy;mso-ansi-language:=
EN-GB'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal style=3D'margin-left:35.4pt'><font size=3D2 =
face=3DTahoma><span
lang=3DEN-US =
style=3D'font-size:10.0pt;font-family:Tahoma;mso-ansi-language:EN-US'>---=
--Original
Message-----<br>
<b><span style=3D'font-weight:bold'>From:</span></b> =
mapserver-users-admin at lists.gis.umn.edu
[mailto:mapserver-users-admin at lists.gis.umn.edu] <b><span =
style=3D'font-weight:
bold'>On Behalf Of </span></b>Prashanth Ram<br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> quinta-feira, 17 de =
Julho de
2003 17:45<br>
<b><span style=3D'font-weight:bold'>To:</span></b> Nuno Cabrita<br>
<b><span style=3D'font-weight:bold'>Cc:</span></b>
mapserver-users at lists.gis.umn.edu<br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> Re: =
[Mapserver-users]
php_mapscript memory error</span></font></p>
<p class=3DMsoNormal style=3D'margin-left:35.4pt'><font size=3D3
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal style=3D'margin-left:35.4pt'><font size=3D3
face=3D"Times New Roman"><span style=3D'font-size:12.0pt'> In the =
php.ini file
is a line (see below) which tells how much memory php can take. =
It's
usually capped @ 8MB. Just change it should work. =
<o:p></o:p></span></font></p>
<p style=3D'margin-left:35.4pt'><font size=3D3 face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt'>-Prashanth <o:p></o:p></span></font></p>
<p style=3D'margin-left:35.4pt'><font size=3D3 face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt'>memory_limit =3D =
8M ;
Maximum amount of memory a script may consume (8MB) =
<o:p></o:p></span></font></p>
<p style=3D'margin-left:35.4pt'><font size=3D3 face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt'>Nuno Cabrita wrote: =
<o:p></o:p></span></font></p>
<blockquote style=3D'margin-top:5.0pt;margin-bottom:5.0pt' =
TYPE=3DCITE><!--[if gte mso 9]><xml>
<u1:OfficeDocumentSettings>
<u1:DoNotRelyOnCSS/>
</u1:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
<u2:WordDocument>
<u2:SpellingState>Clean</u2:SpellingState>
<u2:GrammarState>Clean</u2:GrammarState>
<u2:DocumentKind>DocumentEmail</u2:DocumentKind>
<u2:HyphenationZone>21</u2:HyphenationZone>
<u2:EnvelopeVis/>
<u2:Compatibility>
<u2:BreakWrappedTables/>
<u2:SnapToGridInCell/>
<u2:WrapTextWithPunct/>
<u2:UseAsianBreakRules/>
</u2:Compatibility>
<u2:BrowserLevel>MicrosoftInternetExplorer4</u2:BrowserLevel>
</u2:WordDocument>
</xml><![endif]-->
<div>
<p class=3DMsoNormal style=3D'margin-left:35.4pt'><font size=3D2 =
face=3DArial><span
lang=3DEN-GB =
style=3D'font-size:10.0pt;font-family:Arial;mso-ansi-language:EN-GB'>I
have just compile mapserver 3.6.6 with gd 1.8.4, and created =
the PHP
module (php_mapscript.dll) for PHP =
4.2.3.<u3:p></u3:p></span></font><o:p></o:p></p>
</div>
<div>
<p class=3DMsoNormal style=3D'margin-left:35.4pt'><font size=3D2 =
face=3DArial><span
lang=3DEN-GB =
style=3D'font-size:10.0pt;font-family:Arial;mso-ansi-language:EN-GB'>Almo=
st
everything works, but when I try to create a dbase file for a shape I =
get
a php memory error.<u3:p></u3:p></span></font><o:p></o:p></p>
</div>
<p class=3DMsoNormal style=3D'margin-left:35.4pt'><font size=3D2 =
face=3DArial><span
lang=3DEN-GB =
style=3D'font-size:10.0pt;font-family:Arial;mso-ansi-language:EN-GB'>Does=
anyone had the same problem?<u3:p></u3:p></span></font><span =
lang=3DEN-GB> </span><o:p></o:p></p>
<p class=3DMsoNormal style=3D'margin-left:35.4pt'><font size=3D3
face=3D"Times New Roman"><span lang=3DEN-GB =
style=3D'font-size:12.0pt;mso-ansi-language:
EN-GB'>Does anyone have a clue of what it could =
be?<u3:p></u3:p></span><span
lang=3DEN-GB> </span><o:p></o:p></font></p>
<p style=3D'margin-left:35.4pt'><font size=3D2 face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;mso-no-proof:yes'><u3:p></u3:p>Elemento =
Digital, <br>
Consultoria, Marketing e Desenvolvimento Inform=E1tico, Lda <br>
********************************************************************* =
<br>
Site: <a =
href=3D"http://www.elementodigital.pt/">www.elementodigital.pt</a></span>=
</font><span
style=3D'mso-no-proof:yes'> <br>
</span><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial;
mso-no-proof:yes'>Tel: +351 265 530 140 <br>
Fax: +351 265 530 149 <br>
Avenida Bento Gon=E7alves, 22B <br>
2910-431 Set=FAbal <br>
PORTUGAL <br>
*********************************************************************</sp=
an></font><u3:p></u3:p>
<o:p></o:p></p>
</blockquote>
</div>
<u3:p></u3:p>
</body>
</html>
------=_NextPart_000_0019_01C34C96.9361EE60--
More information about the MapServer-users
mailing list