[mapguide-trac] #480: Crash with MgInvalidStreamHeaderException
with GETTILEIMAGE (load test)
MapGuide Open Source
trac_mapguide at osgeo.org
Tue Mar 31 19:56:48 EDT 2009
#480: Crash with MgInvalidStreamHeaderException with GETTILEIMAGE (load test)
-----------------------------------+----------------------------------------
Reporter: zspitzer | Owner:
Type: defect | Status: reopened
Priority: high | Milestone:
Component: Tile Service | Version: 2.1.0
Severity: major | Resolution:
Keywords: out of memory , #520 | External_id:
-----------------------------------+----------------------------------------
Changes (by uvlite):
* keywords: => out of memory , #520
* cc: walt.welton-lair at autodesk.com (added)
* version: 2.0.0 => 2.1.0
Comment:
This error seems to be caused by a missing cleanup in ByteSink.cpp:246
in MgByteSink::ToFile(CREFSTRING filename)
In this method a huge buffer (1MB) is allocated to export the byteSource
into the given filename.
This is the first place when a system with exhausted memory resources
fails.
The buffer is on the stack so thats not the problem, but
when an exception is triggered we are left with an empty file.
Thus a MgInvalidStreamHeaderException on the client side
This seems to be related to ticket #520.
--
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/480#comment:9>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals
More information about the mapguide-trac
mailing list