[mapguide-users] Out of memory issues. Help please??

Dave Wilson dave.wilson at autodesk.com
Thu Feb 11 11:47:49 EST 2010


I've seen this kind of behavior when the config.xml for the raster feature source is invalid. Of course I'm not sure if this affects gdal. It needs to be rebuilt. The error can make it look like other layers/providers are failing.

Dave

-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Trevor Wekel
Sent: Thursday, February 11, 2010 9:13 AM
To: MapGuide Users Mail List
Subject: RE: [mapguide-users] Out of memory issues. Help please??

Hi Zac,

FDO 3.5 also contains atomic wrapping for FDO object reference counts.  This may improve GDAL stability under multi user loads but it may not be sufficient to correct all of the issues being reported by the MapGuide user base.  Further investigation is required to see if other changes need to be made.

Last week, I built MapGuide 2.2 and FDO 3.5 on CentOS 5.  The third FDO Provider I tried was GDAL.  The MapGuide Server segfaulted on the first map request for a GeoTIFF.  Typically MapGuide on Linux is much more touchy than on Windows.  An "unclassified exception" on Windows is caught and the server limps along.  On Linux, the same exception will often kill the server process.

It is very early to make an assessment of GDAL stability in MapGuide 2.2 but I do consider a segfault on Linux to be bad news.  It may have just been a bad build on my part, or it could be indicative of more serious problems which will impact the Windows build as well.

When I debug these sorts of issues, I generally start with the server on Windows and get it stable first.  Once Windows is stable, I then turn my attention to Linux.  If the server on Windows is not stable, it is almost a guarantee that the server on Linux will not be either.

Regards,
Trevor

-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Zac Spitzer
Sent: February 11, 2010 7:04 AM
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] Out of memory issues. Help please??

Trevor, do you think any of the fixes will help GDAL ?

On Fri, Feb 12, 2010 at 12:58 AM, Trevor Wekel
<trevor_wekel at otxsystems.com> wrote:
> Zac is correct.  There have been a lot of memory leak fixes put into the latest releases of MapGuide and FDO.  In addition, one of the key features for MapGuide Open Source 2.2 is 64 bit support.  The larger memory space available to a 64 bit MapGuide Server will make any remaining memory leaks less critical from a stability perspective.
>
> The MapGuide Open Source roadmap has been updated (thanks Tom!) with some additional information on the key features and timeline for the 2.2 release http://trac.osgeo.org/mapguide/roadmap
>
> Regards,
> Trevor
>
> -----Original Message-----
> From: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Zac Spitzer
> Sent: February 11, 2010 2:44 AM
> To: MapGuide Users Mail List
> Subject: Re: [mapguide-users] Out of memory issues. Help please??
>
> 2.1 is definately more stable, there have been even more good fixes since
> which are in the trunk for 2.2 which will hopefully be beta in march
>
> upgrading the core server isn't that bad
>
> are you using customised viewers?
>
> whats your fdo providers talking to?
>
> any gdql rasters?
>
> On Thu, Feb 11, 2010 at 8:39 PM, JamesDudden
> <jamesdudden at blueyonder.co.uk> wrote:
>>
>> Hi,
>> I have been getting a lot of 'Out of memory' errors that have been causing
>> Mapguide to crash as below:
>>
>> StackTrace:
>>  - MgMappingUtil.StylizeLayers line 786 file
>> d:\build\mapguide_open_source_v2.0\build_30.11\mgdev\server\src\services\mapping\MappingUtil.cpp
>> Failed to stylize layer: Boundaries
>> An unclassified exception occurred.
>> <2010-02-10T12:03:41>           127.0.0.1       Administrator
>>  Error: Failed to stylize layer: All OS
>>        Out of memory.
>>        bad allocation
>>
>> I am using MG 2.0.2 and have been told that a lot of 'memory leaks' have
>> been fixed in 2.1 but upgrading seems like a massive task.
>>
>> What exactly are these 'memory leaks'?
>> Will upgrading the server hardware i.e. better processor and more memory
>> help at all or is it a wasted purchase?
>> Are there any tweaks I can make to improve the situation or is upgrading my
>> only option?
>>
>> Any help or advice is welcome
>>
>> Regards
>> JD
>>
>> -----
>> http://www.software-matters.co.uk Software Matters  -
>> http://www.software-matters.co.uk/bespoke-database-design.html Bespoke
>> Database  and Software Solutions
>> --
>> View this message in context: http://n2.nabble.com/Out-of-memory-issues-Help-please-tp4553622p4553622.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
>>
>
>
>
> --
> Zac Spitzer
> Solution Architect / Director
> Ennoble Consultancy Australia
> http://www.ennoble.com.au
> http://zacster.blogspot.com
> +61 405 847 168
> _______________________________________________
> 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
>



-- 
Zac Spitzer
Solution Architect / Director
Ennoble Consultancy Australia
http://www.ennoble.com.au
http://zacster.blogspot.com
+61 405 847 168
_______________________________________________
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


More information about the mapguide-users mailing list