[Mapserver-users] php_mapscript memory error

Prashanth Ram pram at pramcentral.com
Thu Jul 17 12:44:48 EDT 2003


--------------35690349D44E6C89BCB051BD
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

 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.

-Prashanth

memory_limit = 8M      ; Maximum amount of memory a script may consume
(8MB)

Nuno Cabrita wrote:

> 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?
>
> Does anyone have a clue of what it could be?
>
> Elemento Digital,
> Consultoria, Marketing e Desenvolvimento Informático, Lda
> *********************************************************************
> Site: www.elementodigital.pt
> Tel: +351 265 530 140
> Fax: +351 265 530 149
> Avenida Bento Gonçalves, 22B
> 2910-431 Setúbal
> PORTUGAL
> *********************************************************************
>

--------------35690349D44E6C89BCB051BD
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<body link="#0000FF" vlink="#800080" lang="PT" style="tab-interval:35.4pt">
&nbsp;In the php.ini file is a&nbsp; line (see below) which tells how much
memory php can take. It's usually capped @ 8MB. Just change it should work.
<p>-Prashanth
<p>memory_limit = 8M&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; Maximum amount of
memory a script may consume (8MB)
<p>Nuno Cabrita wrote:
<blockquote TYPE=CITE><link rel=File-List href="cid:filelist.xml at 01C34C86.47F19850"><!--[if gte mso 9]><xml>
 <o:OfficeDocumentSettings>
  <o:DoNotRelyOnCSS/>
 </o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:SpellingState>Clean</w:SpellingState>
  <w:GrammarState>Clean</w:GrammarState>
  <w:DocumentKind>DocumentEmail</w:DocumentKind>
  <w:HyphenationZone>21</w:HyphenationZone>
  <w:EnvelopeVis/>
  <w:Compatibility>
   <w:BreakWrappedTables/>
   <w:SnapToGridInCell/>
   <w:WrapTextWithPunct/>
   <w:UseAsianBreakRules/>
  </w:Compatibility>
  <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
 </w:WordDocument>
</xml><![endif]--><style>
<!--
 /* 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.EmailStyle17
	{mso-style-type:personal-compose;
	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.SpellE
	{mso-style-name:"";
	mso-spl-e:yes;}
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 */ 
 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]-->
<div class=Section1>
<div class="MsoNormal"><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial;mso-ansi-language:EN-GB'><font face="Arial"><font size=-1>I
have just compile&nbsp;<span 
class=SpellE>mapserver</span> 3.6.6 with&nbsp;<span class=SpellE><span class=GramE>gd</span></span>
1.8.4, and created the PHP module (php_mapscript.dll) for PHP 4.2.3.</font></font><o:p></o:p></span></div>

<div class="MsoNormal"><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial;mso-ansi-language:EN-GB'><font face="Arial"><font size=-1>Almost
everything works, but when I try to create a dbase file for a shape I get
a&nbsp;<span class=SpellE>php</span> memory error.</font></font><o:p></o:p></span></div>


<p class="MsoNormal"><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial;mso-ansi-language:EN-GB'><font face="Arial"><font size=-1>Does
anyone&nbsp;<span 
class=GramE>had</span> the same problem?</font></font><o:p></o:p></span>

<p class="MsoNormal"><span lang=EN-GB
style='font-size:12.0pt;mso-ansi-language:EN-GB'><font face="Times New Roman"><font size=+0>Does
anyone have a clue of what it could be?</font></font><o:p></o:p></span>

<p class="MsoNormal"><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial;mso-ansi-language:EN-GB'><o:p></o:p></span>
<p><span style='font-size:10.0pt;font-family:Arial;
mso-no-proof:yes'><font face="Arial"><font size=-1>Elemento
Digital,</font></font>
<br><font face="Arial"><font size=-1>Consultoria, Marketing e Desenvolvimento
Inform&aacute;tico, Lda</font></font>
<br><font face="Arial"><font size=-1>*********************************************************************</font></font>
<br><font face="Arial"><font size=-1>Site:&nbsp;</span><span style='mso-no-proof:yes'><span 
style='font-size:10.0pt;font-family:Arial'><a href="http://www.elementodigital.pt/">www.elementodigital.pt</a></font></font></span>
<br></span><span style='font-size:10.0pt;font-family:Arial;
mso-no-proof:yes'><font face="Arial"><font size=-1>Tel:
+351 265 530 140</font></font>
<br><font face="Arial"><font size=-1>Fax: +351 265 530 149</font></font>
<br><font face="Arial"><font size=-1>Avenida Bento Gon&ccedil;alves, 22B</font></font>
<br><font face="Arial"><font size=-1>2910-431 Set&uacute;bal</font></font>
<br><font face="Arial"><font size=-1>PORTUGAL</font></font>
<br><font face="Arial"><font size=-1>*********************************************************************</font></font></span><o:p></o:p>

<p class="MsoNormal"><span style='font-size:
12.0pt'><o:p></o:p></span></div>
</blockquote>

</body>
</html>

--------------35690349D44E6C89BCB051BD--





More information about the mapserver-users mailing list