<BODY><P>Hi all,</P>
<P>Has anyone encountered a problem with scale dependency? We have created a mapguide app using some fairly large SDF files (500 mb in total). We have set up most of the information to be scale dependant (display below a 1:40,000 scale). The moment we zoom in below 40,000 bingo we receive the stack dump listed below.</P>
<P>The out of memory error is interesting as the server is massive - huge blade server with several processors and 8 GB of RAM. MapGuide just humms on this box until we zoom in below the 1:40,000 scale range. I am hopeful someone can assist us as we are building a prototype for a client and we are trying to showcase the MapGuide application (and this does not look so good).</P>
<P> </P>
<P> </P>
<P># Log Type: Error Log<BR># Log Parameters: CLIENT,CLIENTIP,USER,ERROR,STACKTRACE<BR><2006-05-25T12:17:22> <BR> Error: Resource was not found: Library://AIA/AIA Web layout.WebLayout<BR> StackTrace:<BR> - MgOpGetResourceContent.Execute line 128 file c:\build_tux_area\mgdev\server\src\services\resource\OpGetResourceContent.cpp<BR> - MgServerResourceService.GetResourceContent line 704 file c:\build_tux_area\mgdev\server\src\services\resource\ServerResourceService.cpp<BR> - MgApplicationRepositoryManager.GetResourceContent line 381 file c:\build_tux_area\mgdev\server\src\services\resource\ApplicationRepositoryManager.cpp<BR> - MgResourceDefinitionManager.GetResource line 322 file c:\build_tux_area\mgdev\server\src\services\resource\ResourceDefinitionManager.cpp<BR> - MgResourceContentManager.GetDocument line 570 file c:\build_tux_area\mgdev\server\src\services\resource\ResourceContentManager.cpp<BR>
- MgResourceDefinitionManager.GetDocument line 483 file c:\build_tux_area\mgdev\server\src\services\resource\ResourceDefinitionManager.cppResource was not found: Library://AIA/AIA Web layout.WebLayout<BR><2006-05-25T12:23:22> <BR> Error: An unclassified exception occurred.<BR> StackTrace:<BR> - MgOpGenerateMapUpdate.Execute line 106 file c:\build_tux_area\mgdev\server\src\services\mapping\OpGenerateMapUpdate.cpp<BR> - MgServerMappingService.GenerateMapUpdate line 651 file c:\build_tux_area\mgdev\server\src\services\mapping\ServerMappingService.cppAn unclassified exception occurred.<BR><2006-05-25T12:24:57> Anonymous<BR> Error: An exception occurred in DB XML component.<BR> Error: Out of memory in NsSAX2Reader parse File: ..\src\dbxml\nodeStore\NsSAX2Reader.cpp Line: 352<BR> StackTrace:<BR>
- MgOpCreateSession.Execute line 100 file c:\build_tux_area\mgdev\server\src\services\site\OpCreateSession.cpp<BR> - MgServerSiteService.CreateSession line 722 file c:\build_tux_area\mgdev\server\src\services\site\ServerSiteService.cpp<BR> - MgServerResourceService.CreateRepository line 195 file c:\build_tux_area\mgdev\server\src\services\resource\ServerResourceService.cpp<BR> - MgRepositoryManager.CreateRepository line 657 file c:\build_tux_area\mgdev\server\src\services\resource\RepositoryManager.cpp<BR> - MgResourceContentManager.AddRepository line 128 file c:\build_tux_area\mgdev\server\src\services\resource\ResourceContentManager.cpp<BR> - MgResourceContentManager.PutDocument line 604 file c:\build_tux_area\mgdev\server\src\services\resource\ResourceContentManager.cpp<BR> - MgResourceDefinitionManager.PutDocument line 567 file c:\build_tux_area\mgdev\server\src\services\resource\ResourceDefinitionManager.cpp<BR>
- MgResourceDefinitionManager.ValidateDocument line 431 file c:\build_tux_area\mgdev\server\src\services\resource\ResourceDefinitionManager.cppAn exception occurred in DB XML component.<BR>Error: Out of memory in NsSAX2Reader parse File: ..\src\dbxml\nodeStore\NsSAX2Reader.cpp Line: 352<BR><2006-05-25T12:25:14> Anonymous<BR> Error: An exception occurred in DB XML component.<BR> Error: Out of memory in NsSAX2Reader parse File: ..\src\dbxml\nodeStore\NsSAX2Reader.cpp Line: 352<BR> StackTrace:<BR> - MgOpCreateSession.Execute line 100 file c:\build_tux_area\mgdev\server\src\services\site\OpCreateSession.cpp<BR> - MgServerSiteService.CreateSession line 722 file c:\build_tux_area\mgdev\server\src\services\site\ServerSiteService.cpp<BR> - MgServerResourceService.CreateRepository line 195 file c:\build_tux_area\mgdev\server\src\services\resource\ServerResourceService.cpp<BR>
- MgRepositoryManager.CreateRepository line 657 file c:\build_tux_area\mgdev\server\src\services\resource\RepositoryManager.cpp<BR> - MgResourceContentManager.AddRepository line 128 file c:\build_tux_area\mgdev\server\src\services\resource\ResourceContentManager.cpp<BR> - MgResourceContentManager.PutDocument line 604 file c:\build_tux_area\mgdev\server\src\services\resource\ResourceContentManager.cpp<BR> - MgResourceDefinitionManager.PutDocument line 567 file c:\build_tux_area\mgdev\server\src\services\resource\ResourceDefinitionManager.cpp<BR> - MgResourceDefinitionManager.ValidateDocument line 431 file c:\build_tux_area\mgdev\server\src\services\resource\ResourceDefinitionManager.cppAn exception occurred in DB XML component.<BR>Error: Out of memory in NsSAX2Reader parse File: ..\src\dbxml\nodeStore\NsSAX2Reader.cpp Line: 352<BR><2006-05-25T12:25:43> Anonymous<BR>
Error: An exception occurred in DB XML component.<BR> Error: Out of memory in NsSAX2Reader parse File: ..\src\dbxml\nodeStore\NsSAX2Reader.cpp Line: 352<BR> StackTrace:<BR> - MgOpCreateSession.Execute line 100 file c:\build_tux_area\mgdev\server\src\services\site\OpCreateSession.cpp<BR> - MgServerSiteService.CreateSession line 722 file c:\build_tux_area\mgdev\server\src\services\site\ServerSiteService.cpp<BR> - MgServerResourceService.CreateRepository line 195 file c:\build_tux_area\mgdev\server\src\services\resource\ServerResourceService.cpp<BR> - MgRepositoryManager.CreateRepository line 657 file c:\build_tux_area\mgdev\server\src\services\resource\RepositoryManager.cpp<BR> - MgResourceContentManager.AddRepository line 128 file c:\build_tux_area\mgdev\server\src\services\resource\ResourceContentManager.cpp<BR>
- MgResourceContentManager.PutDocument line 604 file c:\build_tux_area\mgdev\server\src\services\resource\ResourceContentManager.cpp<BR> - MgResourceDefinitionManager.PutDocument line 567 file c:\build_tux_area\mgdev\server\src\services\resource\ResourceDefinitionManager.cpp<BR> - MgResourceDefinitionManager.ValidateDocument line 431 file c:\build_tux_area\mgdev\server\src\services\resource\ResourceDefinitionManager.cppAn exception occurred in DB XML component.<BR>Error: Out of memory in NsSAX2Reader parse File: ..\src\dbxml\nodeStore\NsSAX2Reader.cpp Line: 352<BR><2006-05-25T12:25:45> Anonymous<BR> Error: An exception occurred in DB XML component.<BR> Error: Out of memory in NsSAX2Reader parse File: ..\src\dbxml\nodeStore\NsSAX2Reader.cpp Line: 352<BR> StackTrace:<BR>
- MgOpCreateSession.Execute line 100 file c:\build_tux_area\mgdev\server\src\services\site\OpCreateSession.cpp<BR> - MgServerSiteService.CreateSession line 722 file c:\build_tux_area\mgdev\server\src\services\site\ServerSiteService.cpp<BR> - MgServerResourceService.CreateRepository line 195 file c:\build_tux_area\mgdev\server\src\services\resource\ServerResourceService.cpp<BR> - MgRepositoryManager.CreateRepository line 657 file c:\build_tux_area\mgdev\server\src\services\resource\RepositoryManager.cpp<BR> - MgResourceContentManager.AddRepository line 128 file c:\build_tux_area\mgdev\server\src\services\resource\ResourceContentManager.cpp<BR> - MgResourceContentManager.PutDocument line 604 file c:\build_tux_area\mgdev\server\src\services\resource\ResourceContentManager.cpp<BR> - MgResourceDefinitionManager.PutDocument line 567 file c:\build_tux_area\mgdev\server\src\services\resource\ResourceDefinitionManager.cpp<BR>
- MgResourceDefinitionManager.ValidateDocument line 431 file c:\build_tux_area\mgdev\server\src\services\resource\ResourceDefinitionManager.cppAn exception occurred in DB XML component.<BR>Error: Out of memory in NsSAX2Reader parse File: ..\src\dbxml\nodeStore\NsSAX2Reader.cpp Line: 352<BR><2006-05-25T12:25:58> <BR> Error: An unclassified exception occurred.<BR> StackTrace:<BR> - MgOpGeneratePlot.Execute line 96 file c:\build_tux_area\mgdev\server\src\services\rendering\OpQueryFeatures.cpp<BR> - MgServerRenderingService.QueryFeatures line 633 file c:\build_tux_area\mgdev\server\src\services\rendering\ServerRenderingService.cpp<BR> - MgServerGetSpatialContexts.GetSpatialContexts line 109 file c:\build_tux_area\mgdev\server\src\services\feature\ServerGetSpatialContexts.cpp<BR> - MgFdoConnectionManager.Open line 263 file c:\build_tux_area\mgdev\server\src\common\manager\FdoConnectionManager.cpp<BR>
- MgXmlUtil.ParseString line 134 file c:\build_tux_area\mgdev\common\service\util\XmlUtil.cppAn unclassified exception occurred.<BR><2006-05-25T12:26:02> <BR> Error: Out of memory.<BR> bad allocation<BR> StackTrace:<BR> - MgOpSetResource.Execute line 109 file c:\build_tux_area\mgdev\server\src\services\resource\OpSetResource.cpp<BR> - MgServerResourceService.SetResource line 553 file c:\build_tux_area\mgdev\server\src\services\resource\ServerResourceService.cpp<BR> - MgRepositoryManager.SetResource line 818 file c:\build_tux_area\mgdev\server\src\services\resource\RepositoryManager.cpp<BR> - MgResourceDefinitionManager.FindResource line 361 file c:\build_tux_area\mgdev\server\src\services\resource\ResourceDefinitionManager.cppOut of memory.<BR>bad allocation<BR><2006-05-25T12:26:02> Administrator<BR>
Error: An exception occurred in DB XML component.<BR> Error: Out of memory in NsSAX2Reader parse File: ..\src\dbxml\nodeStore\NsSAX2Reader.cpp Line: 352<BR> StackTrace:<BR> - MgOpCreateSession.Execute line 100 file c:\build_tux_area\mgdev\server\src\services\site\OpCreateSession.cpp<BR> - MgServerSiteService.CreateSession line 722 file c:\build_tux_area\mgdev\server\src\services\site\ServerSiteService.cpp<BR> - MgServerResourceService.CreateRepository line 195 file c:\build_tux_area\mgdev\server\src\services\resource\ServerResourceService.cpp<BR> - MgRepositoryManager.CreateRepository line 657 file c:\build_tux_area\mgdev\server\src\services\resource\RepositoryManager.cpp<BR> - MgResourceContentManager.AddRepository line 128 file c:\build_tux_area\mgdev\server\src\services\resource\ResourceContentManager.cpp<BR>
- MgResourceContentManager.PutDocument line 604 file c:\build_tux_area\mgdev\server\src\services\resource\ResourceContentManager.cpp<BR> - MgResourceDefinitionManager.PutDocument line 567 file c:\build_tux_area\mgdev\server\src\services\resource\ResourceDefinitionManager.cpp<BR> - MgResourceDefinitionManager.ValidateDocument line 431 file c:\build_tux_area\mgdev\server\src\services\resource\ResourceDefinitionManager.cppAn exception occurred in DB XML component.<BR>Error: Out of memory in NsSAX2Reader parse File: ..\src\dbxml\nodeStore\NsSAX2Reader.cpp Line: 352<BR><2006-05-25T12:26:05> <BR> Error: Out of memory.<BR> bad allocation<BR> StackTrace:<BR> - MgOpSetResource.Execute line 109 file c:\build_tux_area\mgdev\server\src\services\resource\OpSetResource.cpp<BR>
- MgServerResourceService.SetResource line 553 file c:\build_tux_area\mgdev\server\src\services\resource\ServerResourceService.cpp<BR> - MgRepositoryManager.SetResource line 818 file c:\build_tux_area\mgdev\server\src\services\resource\RepositoryManager.cpp<BR> - MgResourceDefinitionManager.FindResource line 361 file c:\build_tux_area\mgdev\server\src\services\resource\ResourceDefinitionManager.cppOut of memory.<BR>bad allocation<BR><2006-05-25T12:26:05> Administrator<BR> Error: An exception occurred in DB XML component.<BR> Error: Out of memory in NsSAX2Reader parse File: ..\src\dbxml\nodeStore\NsSAX2Reader.cpp Line: 352<BR> StackTrace:<BR> - MgOpCreateSession.Execute line 100 file c:\build_tux_area\mgdev\server\src\services\site\OpCreateSession.cpp<BR>
- MgServerSiteService.CreateSession line 722 file c:\build_tux_area\mgdev\server\src\services\site\ServerSiteService.cpp<BR> - MgServerResourceService.CreateRepository line 195 file c:\build_tux_area\mgdev\server\src\services\resource\ServerResourceService.cpp<BR> - MgRepositoryManager.CreateRepository line 657 file c:\build_tux_area\mgdev\server\src\services\resource\RepositoryManager.cpp<BR> - MgResourceContentManager.AddRepository line 128 file c:\build_tux_area\mgdev\server\src\services\resource\ResourceContentManager.cpp<BR> - MgResourceContentManager.PutDocument line 604 file c:\build_tux_area\mgdev\server\src\services\resource\ResourceContentManager.cpp<BR> - MgResourceDefinitionManager.PutDocument line 567 file c:\build_tux_area\mgdev\server\src\services\resource\ResourceDefinitionManager.cpp<BR>
- MgResourceDefinitionManager.ValidateDocument line 431 file c:\build_tux_area\mgdev\server\src\services\resource\ResourceDefinitionManager.cppAn exception occurred in DB XML component.<BR>Error: Out of memory in NsSAX2Reader parse File: ..\src\dbxml\nodeStore\NsSAX2Reader.cpp Line: 352<BR><2006-05-25T12:30:22> <BR> Error: An unclassified exception occurred.<BR> StackTrace:<BR> - MgOpGenerateMapUpdate.Execute line 106 file c:\build_tux_area\mgdev\server\src\services\mapping\OpGenerateMapUpdate.cpp<BR> - MgServerMappingService.GenerateMapUpdate line 651 file c:\build_tux_area\mgdev\server\src\services\mapping\ServerMappingService.cppAn unclassified exception occurred.<BR><2006-05-25T12:52:13> <BR> Error: Port 2801 is not available, please try using a different port.<BR>
Exception occurred in method MgServer.svc at line 1001 in file c:\build_tux_area\mgdev\server\src\core\Server.cpp<BR> StackTrace:Port 2801 is not available, please try using a different port.<BR>Exception occurred in method MgServer.svc at line 1001 in file c:\build_tux_area\mgdev\server\src\core\Server.cpp</P>
<P><2006-05-25T12:53:21> <BR> Error: Port 2801 is not available, please try using a different port.<BR> Exception occurred in method MgServer.svc at line 1001 in file c:\build_tux_area\mgdev\server\src\core\Server.cpp<BR> StackTrace:Port 2801 is not available, please try using a different port.<BR>Exception occurred in method MgServer.svc at line 1001 in file c:\build_tux_area\mgdev\server\src\core\Server.cpp</P>
<P><2006-05-26T07:14:10> <BR> Error: Session has expired or is invalid. Please log in again.<BR> StackTrace:<BR> - MgOpAuthenticate.Execute line 111 file c:\build_tux_area\mgdev\server\src\services\site\OpAuthenticate.cpp<BR> - MgSecurityManager.Authenticate line 227 file c:\build_tux_area\mgdev\server\src\common\manager\SecurityManager.cpp<BR> - MgSessionCache.GetSessionInfo line 157 file c:\build_tux_area\mgdev\server\src\common\manager\SessionCache.cppSession has expired or is invalid. Please log in again.</P></BODY>