[mapguide-users] SQL Server Data not appearing in Fusion

kevin_t tai_kevin at hotmail.com
Wed Jul 8 16:11:07 EDT 2009


Thanks.  I tried increasing my memory limit on php.ini but it's not working. 
I can create a new map and add just one SQL Server layer and it works.  Is
there any other memory I can increase?


Paul Spencer wrote:
> 
> Seems like it could be a bug somewhere in Fusion and how it uses the  
> MapGuide API, there have been memory leaks found and fixed before  
> mostly related to using Feature Readers without properly closing  
> them.  You can increase the memory limit for PHP in php.ini which you  
> should find in an Apache folder under the WebServerExtensions folder  
> somewhere.
> 
> Paul
> 
> On 7-Jul-09, at 3:26 PM, kevin_t wrote:
> 
>>
>>> From the Apache error log:
>>
>> "PHP Fatal error:  Allowed memory size of 67108864 bytes exhausted  
>> (tried to
>> allocate 34674 bytes) in C:\\Program
>> Files\\Autodesk\\MapGuideEnterprise2010\\WebServerExtensions\\www\ 
>> \fusion\\common\\php\\Utilities.php
>> on line 42, referer: <long URL to my fusion layout>"
>>
>>
>> I opened the utilities.php and looked at line 42.  Nothing seems out  
>> of the
>> ordinary.  I wonder where this "allowed memory size" setting is.
>>
>> I found a posting that describes someone having to increase PHP  
>> memory to
>> get their fusion to work.  Is this related?
>>
>> http://n2.nabble.com/Unmanaged-Performance-td1818163.html#a1818163
>>
>>
>>
>>
>>
>> Paul Spencer wrote:
>>>
>>> can you check your apache error log.  I expect it is a bug in  
>>> Fusion's
>>> php code.
>>>
>>> Cheers
>>>
>>> Paul
>>>
>>> On 7-Jul-09, at 1:51 PM, kevin_t wrote:
>>>
>>>>
>>>> Hi all,
>>>>
>>>> I have a problem where my map in a fusion/flexible layout doesn't
>>>> load in my
>>>> browser if I have data from SQL Server 2008.  It loads fine in the
>>>> basic
>>>> layout, so it is unlikely that it's a SQL Server issue.  I am using
>>>> MapGuide
>>>> Enterprise 2010 with SQL Server 2008 Trial version.  The browser I
>>>> tested
>>>> are Firefox and IE.
>>>>
>>>> My steps are as follows:
>>>> - Import shapefile to SQL Server 2008 using SQL Server 2008 Spatial
>>>> Tools.
>>>> - Create a data connection in MG Studio 2010 to it with the OSGeo  
>>>> FDO
>>>> Provider for SQL Server Spatial.
>>>> - Create the layer and add it to a map that is referenced by a  
>>>> fusion
>>>> layout.
>>>> - View the layout in a browser.
>>>>
>>>> Does anyone know if this is a bug with fusion layouts and if there
>>>> is a
>>>> workaround?
>>>> -- 
>>>> View this message in context:
>>>> http://n2.nabble.com/SQL-Server-Data-not-appearing-in-Fusion-tp3220760p3220760.html
>>>> Sent from the MapGuide Users mailing list archive at Nabble.com.
>>>> _______________________________________________
>>>> mapguide-users mailing list
>>>> mapguide-users at lists.osgeo.org
>>>> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>>>
>>> _______________________________________________
>>> mapguide-users mailing list
>>> mapguide-users at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>>>
>>>
>>
>> -- 
>> View this message in context:
>> http://n2.nabble.com/SQL-Server-Data-not-appearing-in-Fusion-tp3220760p3221403.html
>> Sent from the MapGuide Users mailing list archive at Nabble.com.
>> _______________________________________________
>> mapguide-users mailing list
>> mapguide-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapguide-users
> 
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
> 
> 

-- 
View this message in context: http://n2.nabble.com/SQL-Server-Data-not-appearing-in-Fusion-tp3220760p3227718.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list