[mapguide-users] Out of Memory error problem

Zac Spitzer zac.spitzer at gmail.com
Mon Apr 28 21:06:24 EDT 2008


one option you could try is tweaking the settings under
FeatureServiceProperties in ServerConfig.ini
with shorter timeouts for the connections

can you file a bug for the Shape16 vs Shape31 issue in trac?

what type of feature sources are you using? What size of area are your
maps and at what scale?

Due to the nature of mapping data it is hard to provide test cases for
developers to debug, the holy grail is being able
to provide a mgp file which exhibits a specific issue.

That said, I have a test case uploaded against the samples which falls
over under load with the sample data on windows

overall, stability is rather problematic at the moment with mg 2.0,
some of the demo sites are down at times

http://demo01.dmsolutions.ca/mapguide/fusion/templates/mapguide/slate/ (busted)
http://data.mapguide.com/mapguide/phpviewersample/ajaxtiledviewersample.php
(works, might be mge tho)
http://mapguidebeta.osgeo.org/mapguide/fusion/templates/mapguide/slate/index.html
(working)

z






On Tue, Apr 29, 2008 at 2:19 AM, nclayton <nclayton at gmail.com> wrote:
>
>  I'm watching my mgserver.exe in task manager, and it is currently up to
>  830MB+.
>  My OS is Windows 2003 Standard and I am using MGOS 2.0
>
>  I am hosting multiple maps. Currently there are 4 but once I get these
>  wrinkles ironed out there will be 20+.
>
>  Are there steps that I can perform to reduce the amount of memory being
>  used? Such as programatically close connections or something? Right now the
>  service is set to restart every 4 hours...which should remove the used
>  memory, but at the price of losing user sessions which is what I'm trying to
>  avoid.
>
>
>
>
>
>  nclayton wrote:
>  >
>  > Hi all,
>  > I have been having problems with MGOS 2.0 crashing on me to the point that
>  > i was using a script to restart the service every 30 minutes.
>  >
>  > I resolved part of the problem by changing how one of my layers was
>  > rendered.
>  >
>  > But, after running without a restart for about 2 days I got the following
>  > errors:
>  >
>  > ============================================================================
>  > <2008-04-25T11:32:56>                         Anonymous
>  >  Error: An exception occurred in FDO component.
>  >         'FdoFgfLinearRing::Reset': Cannot execute function due to invalid
>  > value for the input parameter(s) 'positions'.
>  >  StackTrace:
>  >   - MgRenderingServiceHandler.ProcessOperation line 83 file
>  > d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\rendering\RenderingServiceHandler.cpp
>  >   - MgOpQueryFeatures.Execute line 125 file
>  > d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\rendering\OpQueryFeatures.cpp
>  >   - MgServerRenderingService.QueryFeatures line 647 file
>  > d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\rendering\ServerRenderingService.cpp
>  >   - MgServerRenderingService.RenderForSelection line 1252 file
>  > d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\rendering\ServerRenderingService.cpp
>  >   - MgServerSelectFeatures.SelectFeatures line 249 file
>  > d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\feature\ServerSelectFeatures.cpp
>  > An exception occurred in FDO component.
>  > 'FdoFgfLinearRing::Reset': Cannot execute function due to invalid value
>  > for the input parameter(s) 'positions'.
>  >
>  > <2008-04-25T11:57:23>                         Anonymous
>  >  Error: Failed to stylize layer: aerial
>  >         Out of memory.
>  >         bad allocation
>  >  StackTrace:
>  >   - MgMappingUtil.StylizeLayers line 776 file
>  > d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\mapping\MappingUtil.cpp
>  > Failed to stylize layer: aerial
>  > Out of memory.
>  > bad allocation
>  >
>  > <2008-04-25T12:21:39>                         Anonymous
>  >  Error: Out of memory.
>  >         bad allocation
>  >  StackTrace:
>  >   - MgRenderingServiceHandler.ProcessOperation line 83 file
>  > d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\rendering\RenderingServiceHandler.cpp
>  >   - MgOpRenderDynamicOverlay.Execute line 109 file
>  > d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\rendering\OpRenderDynamicOverlay.cpp
>  >   - MgServerRenderingService.RenderDynamicOverlay line 305 file
>  > d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\rendering\ServerRenderingService.cpp
>  > Out of memory.
>  > bad allocation
>  > ============================================================================
>  >
>  > Thank you for any help that can be provided.
>  >
>
>  --
>  View this message in context: http://www.nabble.com/Out-of-Memory-error-problem-tp16938026p16942501.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 -
http://zacster.blogspot.com (My Blog)
+61 405 847 168


More information about the mapguide-users mailing list