Warp3D leaks memory. At the moment the only workaround is to not regenerate map tiles during the simulator session. The only fix will be to alter Warp3D itself not to be so braindead (i.e. to properly dispose of the graphics objects that it creates internally).

On 04/12/14 14:55, Karl Dreyer wrote:
I'm encountering a strange issue with one of my regions.  It seems that this 
one particular region is throwing an out of
memory exception error.  This is occurring once every 6 or 7 hours.

Here is a snippet from the log file.  It seems to be happening when the sim is 
attempting to generate the maptile for
the region.  We are currently using the warp 3d maptile module.  I've looked at 
the region and their really isn't an
excessive amount of content on it; nor are their an excessive amount of scripts 
so not sure how to troubleshoot this issue.

Is the out of memory exception error common for the warp 3d maptile module?  if 
so, is there a fix for it?

2014-12-01 08:05:08,217 DEBUG - 
OpenSim.Region.CoreModules.ServiceConnectorsOut.MapImage.MapImageServiceModule 
[MAP
IMAGE SERVICE MODULE]: map refresh!
2014-12-01 08:05:08,248 DEBUG - 
OpenSim.Region.CoreModules.ServiceConnectorsOut.MapImage.MapImageServiceModule 
[MAP
IMAGE SERVICE MODULE]: upload maptile for Serenity Isle II
2014-12-01 08:05:24,488 WARN  - 
OpenSim.Region.CoreModules.World.Warp3DMap.Warp3DImageModule [WARP 3D IMAGE 
MODULE]:
Error decoding JPEG2000 texture efb8c686-a809-4307-8333-e8444d12a2eb (0 bytes): 
EOF reached before finding Contiguous
Codestream Box
2014-12-01 08:05:53,145 DEBUG - 
OpenSim.Region.CoreModules.World.Warp3DMap.Warp3DImageModule [WARP 3D IMAGE 
MODULE]:
GC.Collect()
2014-12-01 08:05:55,017 DEBUG - 
OpenSim.Services.Connectors.MapImageServicesConnector [MAP IMAGE CONNECTOR]: 
map tile
uploaded in 1872ms
2014-12-01 08:06:07,325 ERROR - 
OpenSim.Region.Framework.Scenes.Serialization.SceneObjectSerializer 
[SERIALIZER]:
Deserialization of xml failed with System.OutOfMemoryException: Exception of 
type 'System.OutOfMemoryException' was thrown.
    at System.String.GetStringForStringBuilder(String value, Int32 startIndex, 
Int32 length, Int32 capacity)
    at System.Text.StringBuilder.GetNewString(String currentString, Int32 
requiredLength)
    at System.Text.StringBuilder.Append(Char value)
    at System.IO.StringWriter.Write(Char value)
    at System.Xml.XmlTextWriter.InternalWriteEndElement(Boolean longFormat)
    at System.Xml.XmlTextWriter.WriteFullEndElement()
    at System.Xml.XmlElement.WriteTo(XmlWriter w)
    at System.Xml.XmlElement.WriteContentTo(XmlWriter w)
    at System.Xml.XmlElement.WriteTo(XmlWriter w)
    at System.Xml.XmlElement.WriteContentTo(XmlWriter w)
    at System.Xml.XmlElement.WriteTo(XmlWriter w)
    at System.Xml.XmlElement.WriteContentTo(XmlWriter w)
    at System.Xml.XmlNode.get_InnerXml()
    at System.Xml.XmlElement.get_InnerXml()

    at 
OpenSim.Region.Framework.Scenes.Serialization.SceneObjectSerializer.FromOriginalXmlFormat(String
 xmlData) in
C:\IO-Stuff\opensim-0.7.6-source\OpenSim\Region\Framework\Scenes\Serialization\SceneObjectSerializer.cs:line
 80.  xml
was <SceneObjectGroup><RootPart><SceneObjectPart 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";

xmlns:xsd="http://www.w3.org/2001/XMLSchema";><AllowedDrop>false</AllowedDrop><CreatorID><UUID>0b0bc9cd-5b44-4878-9634-2d2321eb08af</UUID></CreatorID><FolderID><UUID>7e283dfe-a8dc-47e2-af9b-755338bc46d5</UUID></FolderID><InventorySerial>0</InventorySerial><UUID><UUID>7e283dfe-a8dc-47e2-af9b-755338bc46d5</UUID></UUID><LocalId>2648979438</LocalId><Name>*~*Volatile*~*Diabla
Boots Blue
M</Name><Material>3</Material><PassTouches>false</PassTouches><PassCollisions>false</PassCollisions><RegionHandle>7649302396239616</RegionHandle><ScriptAccessPin>0</ScriptAccessPin><GroupPosition><X>210.4605</X><Y>89.11281</Y><Z>752.5</Z></GroupPosition><OffsetPosition><X>0</X><Y>0</Y><Z>0</Z></OffsetPosition><RotationOffset><X>0</X><Y>0</Y><Z>0</Z><W>1</W></RotationOffset><Velocity><X>0</X><Y>0</Y><Z>0</Z></Velocity><AngularVelocity><X>0</X><Y>0</Y><Z>0</Z></AngularVelocity><Acceleration><X>0</X><Y>0</Y><Z>0</Z></Acceleration><Description>(No
Description)</Description><Color><R>0</R><G>0</G><B>0</B><A>255</A></Color><Text 
/><SitName /><TouchName
/><LinkNum>0</LinkNum><ClickAction>0</ClickAction><Shape><ProfileCurve>1</ProfileCurve><TextureEntry>82EbJgidQ/iTMSaud6E7BgQNqQziT01Ko7NvZPhWaLr8CA2pDOJPTUqjs29k+FZouvwQDakM4k9NSqOzb2T4Vmi6/AAAAAAABEBAQAAAAACAPwAAAIA/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=</TextureEntry><ExtraParams>ATAAEQAAAMKq4NXyOEK6k3hzeWJNg+AF</ExtraParams><PathBegin>0</PathBegin><PathCurve>16</PathCurve><PathEnd>0</PathEnd><PathRadiusOffset>0</PathRadiusOffset><PathRevolutions>0</PathRevolutions><PathScaleX>100</PathScaleX><PathScaleY>100</PathScaleY><PathShearX>0</PathShearX><PathShearY>0</PathShearY><PathSkew>0</PathSkew><PathTaperX>0</PathTaperX><PathTaperY>0</PathTaperY><PathTwist>0</PathTwist><PathTwistBegin>0</PathTwistBegin><PCode>9</PCode><Pro
fileBegin>12500</ProfileBegin><ProfileEnd>0</ProfileEnd><ProfileHollow>27500</ProfileHollow><State>0</State><ProfileShape>Square</ProfileShape><HollowShape>Same</HollowShape><SculptTexture><UUID>c2aae0d5-f238-42ba-9378-7379624d83e0</UUID></SculptTexture><SculptType>5</SculptType><SculptData>

Following this line in the log file, there are pages and pages of what appears 
to be a binary dump.  Is it possible that
the maptile module failed while attempting to generate a texture for this 
particular item?

Any direction on this issue would be greatly appreciated.

Kind Regards,

Karl



_______________________________________________
Opensim-users mailing list
[email protected]
http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users



--
Justin Clark-Casey (justincc)
OSVW Consulting
http://justincc.org
http://twitter.com/justincc
_______________________________________________
Opensim-users mailing list
[email protected]
http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users

Reply via email to