[Opensim-users] Out of Memory Exception on IAR Save?

Chris mewtwo0641 at cox.net
Tue Nov 23 23:49:53 UTC 2010


Hi all. I've recently been getting 'System.OutOfMemoryException' errors 
when I attempt to save my avatar's entire inventory with the Inventory 
Archiver. It will go through the usual process of finding the 
directories to archive and after it finds so many it will give me that 
exception and then terminate the IAR job (usually before it ever reaches 
the assets stage). I usually have to restart the server several times 
(and try to save an IAR each time) in order to get it to save the IAR 
successfully.

I have checked to make sure that I am not running out of RAM (still have 
~1.5 gigs free while every thing is up and running and IAR is being 
saved) or Virtual Memory/Page File when I attempt this and I have plenty 
of HD space where I am saving the IAR so I am at a loss as to why this 
is happening all of a sudden. I did notice something strange in the 
exception message that I received and that is the fact that it seems to 
be trying to access "New Folder" on my desktop when there isn't a 
directory on my desktop called "New Folder" and I didn't direct it to 
save to New Folder either (I am saving to C:\inventory.iar btw)

Any suggestions or insight would be much appreciated =)

Exception:
2010-11-23 00:13:27,406 ERROR - OpenSim.Application Command error: 
System.OutOfMemoryException: Exception

of type 'System.OutOfMemoryException' was thrown.
    at System.String.Replace(String oldValue, String newValue)
    at 
OpenSim.Region.Framework.Scenes.Serialization.SceneObjectSerializer.FromOriginalXmlFormat(UUID 


fromUserInventoryItemID, String xmlData) in c:\Documents and 
Settings\Chris\Desktop\New

Folder\OpenSim\Region\Framework\Scenes\Serialization\SceneObjectSerializer.cs:line 
69
    at 
OpenSim.Region.Framework.Scenes.Serialization.SceneObjectSerializer.FromOriginalXmlFormat(String 


serialization) in c:\Documents and Settings\Chris\Desktop\New

Folder\OpenSim\Region\Framework\Scenes\Serialization\SceneObjectSerializer.cs:line 
55
    at 
OpenSim.Region.Framework.Scenes.UuidGatherer.GetSceneObjectAssetUuids(UUID 
sceneObjectUuid,

IDictionary`2 assetUuids) in c:\Documents and Settings\Chris\Desktop\New

Folder\OpenSim\Region\Framework\Scenes\UuidGatherer.cs:line 280
    at 
OpenSim.Region.Framework.Scenes.UuidGatherer.GatherAssetUuids(UUID 
assetUuid, AssetType assetType,

IDictionary`2 assetUuids) in c:\Documents and Settings\Chris\Desktop\New

Folder\OpenSim\Region\Framework\Scenes\UuidGatherer.cs:line 105
    at

OpenSim.Region.CoreModules.Avatar.Inventory.Archiver.InventoryArchiveWriteRequest.SaveInvItem(InventoryIt

emBase inventoryItem, String path) in c:\Documents and 
Settings\Chris\Desktop\New

Folder\OpenSim\Region\CoreModules\Avatar\Inventory\Archiver\InventoryArchiveWriteRequest.cs:line 
156
    at

OpenSim.Region.CoreModules.Avatar.Inventory.Archiver.InventoryArchiveWriteRequest.SaveInvFolder(Inventory

FolderBase inventoryFolder, String path, Boolean saveThisFolderItself) 
in c:\Documents and

Settings\Chris\Desktop\New

Folder\OpenSim\Region\CoreModules\Avatar\Inventory\Archiver\InventoryArchiveWriteRequest.cs:line 
207
    at

OpenSim.Region.CoreModules.Avatar.Inventory.Archiver.InventoryArchiveWriteRequest.SaveInvFolder(Inventory

FolderBase inventoryFolder, String path, Boolean saveThisFolderItself) 
in c:\Documents and

Settings\Chris\Desktop\New

Folder\OpenSim\Region\CoreModules\Avatar\Inventory\Archiver\InventoryArchiveWriteRequest.cs:line 
202
    at

OpenSim.Region.CoreModules.Avatar.Inventory.Archiver.InventoryArchiveWriteRequest.SaveInvFolder(Inventory

FolderBase inventoryFolder, String path, Boolean saveThisFolderItself) 
in c:\Documents and

Settings\Chris\Desktop\New

Folder\OpenSim\Region\CoreModules\Avatar\Inventory\Archiver\InventoryArchiveWriteRequest.cs:line 
202
    at 
OpenSim.Region.CoreModules.Avatar.Inventory.Archiver.InventoryArchiveWriteRequest.Execute() 
in

c:\Documents and Settings\Chris\Desktop\New

Folder\OpenSim\Region\CoreModules\Avatar\Inventory\Archiver\InventoryArchiveWriteRequest.cs:line 
303
    at 
OpenSim.Region.CoreModules.Avatar.Inventory.Archiver.InventoryArchiverModule.ArchiveInventory(Guid 


id, String firstName, String lastName, String invPath, String pass, 
String savePath) in c:\Documents and

Settings\Chris\Desktop\New

Folder\OpenSim\Region\CoreModules\Avatar\Inventory\Archiver\InventoryArchiverModule.cs:line 
174
    at

OpenSim.Region.CoreModules.Avatar.Inventory.Archiver.InventoryArchiverModule.HandleSaveInvConsoleCommand(

String module, String[] cmdparams) in c:\Documents and 
Settings\Chris\Desktop\New

Folder\OpenSim\Region\CoreModules\Avatar\Inventory\Archiver\InventoryArchiverModule.cs:line 
341
    at OpenSim.Framework.Console.Commands.Resolve(String[] cmd) in 
c:\Documents and

Settings\Chris\Desktop\New 
Folder\OpenSim\Framework\Console\CommandConsole.cs:line 364
    at OpenSim.Framework.Console.LocalConsole.ReadLine(String p, Boolean 
isCommand, Boolean e) in

c:\Documents and Settings\Chris\Desktop\New 
Folder\OpenSim\Framework\Console\LocalConsole.cs:line 473
    at OpenSim.Framework.Console.CommandConsole.Prompt() in c:\Documents 
and Settings\Chris\Desktop\New

Folder\OpenSim\Framework\Console\CommandConsole.cs:line 583
    at OpenSim.Application.Main(String[] args) in c:\Documents and 
Settings\Chris\Desktop\New

Folder\OpenSim\Region\Application\Application.cs:line 165



More information about the Opensim-users mailing list