Unless other people have started to suffer these problems, then it suggests to me that you are genuinely out of memory. Check how much memory OpenSim is using in your system tools.

Deleting the ScriptEngine or assetcache folders will have no effect at all, 
since these are disk caches.

One thing to check is whether your system has MemoryCacheEnabled = false in the [AssetCache] section (you can see the values your system is genuinely using by typing "config show AssetCache" on the region console command line.

As far as I know, nobody uses MemoryCacheEnabled = true - it seems that disk access is quick enough and the memory cache just takes up precious space.

On 19/01/12 08:19, Chris wrote:
I will also sometimes get a HandleRequest() OoM exception on login. Then will 
be returned to the login screen with the
"Despite our best efforts... could not log in" message:

2012-01-19 02:16:13,218 ERROR - 
OpenSim.Framework.Servers.HttpServer.BaseHttpServer [BASE HTTP SERVER]: 
HandleRequest()
threw System.OutOfMemoryException: Exception of type 
'System.OutOfMemoryException' was thrown.
at System.String.ToCharArray()
at System.Text.Encoding.GetBytes(String s)
at 
OpenSim.Framework.Servers.HttpServer.BaseHttpServer.HandleXmlRpcRequests(OSHttpRequest
 request, OSHttpResponse
response) in c:\Documents and
Settings\admin\Desktop\opensim-e7619f7\OpenSim\Framework\Servers\HttpServer\BaseHttpServer.cs:line
 942
at 
OpenSim.Framework.Servers.HttpServer.BaseHttpServer.HandleRequest(OSHttpRequest 
request, OSHttpResponse response) in
c:\Documents and 
Settings\admin\Desktop\opensim-e7619f7\OpenSim\Framework\Servers\HttpServer\BaseHttpServer.cs:line
 647

On 1/18/2012 8:39 AM, admin wrote:
Hello all,

On git r/17830, I am getting an out of memory exception when ever I try to 
detach a scripted object or on logout. I
also have to tell the viewer to detach the attachments sometimes as many as 5 
times in a row before it will actually
detach (Seems to affect non scripted objects as well). I've tried deleting the 
contents of my ScriptsEngine folder as
well as my assetcache folder to no avail. Sometimes the exception triggers and 
sometimes it doesn't (about every other
detach attempt or logout attempt).


*Exceptions:
On log out:
==========
*
2012-01-18 07:47:12,281 ERROR - 
OpenSim.Region.ClientStack.LindenUDP.LLClientView [LLCLIENTVIEW]: Caught 
exception
while processing OpenMetaverse.Packets.LogoutRequestPacket for mewtwo0641 
Alito, Exception of type
'System.OutOfMemoryException' was thrown. at System.String.ToCharArray()
at System.Text.Encoding.GetBytes(String s)
at OpenMetaverse.Utils.StringToBytes(String str)
at 
OpenSim.Region.CoreModules.Avatar.Attachments.AttachmentsModule.UpdateKnownItem(IScenePresence
 sp, SceneObjectGroup
grp) in c:\Documents and Settings\admin\Desktop\opensim-e7619f7
r17830\opensim-e7619f7\OpenSim\Region\CoreModules\Avatar\Attachments\AttachmentsModule.cs:line
 486
at 
OpenSim.Region.CoreModules.Avatar.Attachments.AttachmentsModule.SaveChangedAttachments(IScenePresence
 sp) in
c:\Documents and Settings\admin\Desktop\opensim-e7619f7
r17830\opensim-e7619f7\OpenSim\Region\CoreModules\Avatar\Attachments\AttachmentsModule.cs:line
 164
at OpenSim.Region.Framework.Scenes.Scene.RemoveClient(UUID agentID, Boolean 
closeChildAgents) in c:\Documents and
Settings\admin\Desktop\opensim-e7619f7 
r17830\opensim-e7619f7\OpenSim\Region\Framework\Scenes\Scene.cs:line 3122
at OpenSim.Region.ClientStack.LindenUDP.LLClientView.Close() in c:\Documents and
Settings\admin\Desktop\opensim-e7619f7
r17830\opensim-e7619f7\OpenSim\Region\ClientStack\Linden\UDP\LLClientView.cs:line
 517
at OpenSim.Region.ClientStack.LindenUDP.LLUDPServer.RemoveClient(LLUDPClient 
udpClient) in c:\Documents and
Settings\admin\Desktop\opensim-e7619f7
r17830\opensim-e7619f7\OpenSim\Region\ClientStack\Linden\UDP\LLUDPServer.cs:line
 1033
at OpenSim.Region.ClientStack.LindenUDP.LLUDPServer.LogoutHandler(IClientAPI 
client) in c:\Documents and
Settings\admin\Desktop\opensim-e7619f7
r17830\opensim-e7619f7\OpenSim\Region\ClientStack\Linden\UDP\LLUDPServer.cs:line
 1340
at System.Action`1.Invoke(T obj)
at OpenSim.Region.ClientStack.LindenUDP.LLClientView.Logout(IClientAPI client) 
in c:\Documents and
Settings\admin\Desktop\opensim-e7619f7
r17830\opensim-e7619f7\OpenSim\Region\ClientStack\Linden\UDP\LLClientView.cs:line
 11217
at OpenSim.Region.ClientStack.LindenUDP.LLClientView.HandleLogout(IClientAPI 
client, Packet packet) in c:\Documents
and Settings\admin\Desktop\opensim-e7619f7
r17830\opensim-e7619f7\OpenSim\Region\ClientStack\Linden\UDP\LLClientView.cs:line
 11201
at 
OpenSim.Region.ClientStack.LindenUDP.LLClientView.ProcessSpecificPacketAsync(Object
 state) in c:\Documents and
Settings\admin\Desktop\opensim-e7619f7
r17830\opensim-e7619f7\OpenSim\Region\ClientStack\Linden\UDP\LLClientView.cs:line
 683

*On manual attachment detach:
==========================*

2012-01-18 07:53:04,156 ERROR - 
OpenSim.Region.ClientStack.LindenUDP.LLClientView [LLCLIENTVIEW]: Caught 
exception
while processing OpenMetaverse.Packets.ObjectDetachPacket for mewtwo0641 Alito, 
Exception of type
'System.OutOfMemoryException' was thrown. at System.String.Concat(String str0, 
String str1)
at OpenMetaverse.Utils.StringToBytes(String str)
at 
OpenSim.Region.CoreModules.Avatar.Attachments.AttachmentsModule.UpdateKnownItem(IScenePresence
 sp, SceneObjectGroup
grp) in c:\Documents and Settings\admin\Desktop\opensim-e7619f7
r17830\opensim-e7619f7\OpenSim\Region\CoreModules\Avatar\Attachments\AttachmentsModule.cs:line
 486
at 
OpenSim.Region.CoreModules.Avatar.Attachments.AttachmentsModule.DetachSingleAttachmentToInvInternal(IScenePresence
sp, UUID itemID) in c:\Documents and Settings\admin\Desktop\opensim-e7619f7
r17830\opensim-e7619f7\OpenSim\Region\CoreModules\Avatar\Attachments\AttachmentsModule.cs:line
 699
at 
OpenSim.Region.CoreModules.Avatar.Attachments.AttachmentsModule.DetachSingleAttachmentToInv(IScenePresence
 sp, UUID
itemID) in c:\Documents and Settings\admin\Desktop\opensim-e7619f7
r17830\opensim-e7619f7\OpenSim\Region\CoreModules\Avatar\Attachments\AttachmentsModule.cs:line
 401
at 
OpenSim.Region.CoreModules.Avatar.Attachments.AttachmentsModule.Client_OnObjectDetach(UInt32
 objectLocalID,
IClientAPI remoteClient) in c:\Documents and 
Settings\admin\Desktop\opensim-e7619f7
r17830\opensim-e7619f7\OpenSim\Region\CoreModules\Avatar\Attachments\AttachmentsModule.cs:line
 917
at 
OpenSim.Region.ClientStack.LindenUDP.LLClientView.HandleObjectDetach(IClientAPI 
sender, Packet Pack) in
c:\Documents and Settings\admin\Desktop\opensim-e7619f7
r17830\opensim-e7619f7\OpenSim\Region\ClientStack\Linden\UDP\LLClientView.cs:line
 6170
at 
OpenSim.Region.ClientStack.LindenUDP.LLClientView.ProcessSpecificPacketAsync(Object
 state) in c:\Documents and
Settings\admin\Desktop\opensim-e7619f7
r17830\opensim-e7619f7\OpenSim\Region\ClientStack\Linden\UDP\LLClientView.cs:line
 683

*
If I log in after OoM Exception is thrown:
==================================*

2012-01-18 08:02:35,687 ERROR - 
OpenSim.Region.CoreModules.Avatar.Attachments.AttachmentsModule [ATTACHMENTS 
MODULE]:
Unable to rez attachment: Exception of type 'System.OutOfMemoryException' was 
thrown. at
System.String.CreateStringFromEncoding(Byte* bytes, Int32 byteLength, Encoding 
encoding)
at System.Text.UTF8Encoding.GetString(Byte[] bytes, Int32 index, Int32 count)
at OpenMetaverse.Utils.BytesToString(Byte[] bytes)
at 
OpenSim.Region.CoreModules.Framework.InventoryAccess.BasicInventoryAccessModule.RezObject(IClientAPI
 remoteClient,
InventoryItemBase item, UUID assetID, Vector3 RayEnd, Vector3 RayStart, UUID 
RayTargetID, Byte BypassRayCast, Boolean
RayEndIsIntersection, Boolean RezSelected, Boolean RemoveItem, UUID fromTaskID, 
Boolean attachment) in c:\Documents
and Settings\admin\Desktop\opensim-e7619f7
r17830\opensim-e7619f7\OpenSim\Region\CoreModules\Framework\InventoryAccess\InventoryAccessModule.cs:line
 725
at 
OpenSim.Region.CoreModules.Framework.InventoryAccess.BasicInventoryAccessModule.RezObject(IClientAPI
 remoteClient,
UUID itemID, Vector3 RayEnd, Vector3 RayStart, UUID RayTargetID, Byte 
BypassRayCast, Boolean RayEndIsIntersection,
Boolean RezSelected, Boolean RemoveItem, UUID fromTaskID, Boolean attachment) 
in c:\Documents and
Settings\admin\Desktop\opensim-e7619f7
r17830\opensim-e7619f7\OpenSim\Region\CoreModules\Framework\InventoryAccess\InventoryAccessModule.cs:line
 692
at
OpenSim.Region.CoreModules.Avatar.Attachments.AttachmentsModule.RezSingleAttachmentFromInventoryInternal(IScenePresence
 sp,
UUID itemID, UUID assetID, UInt32 attachmentPt) in c:\Documents and 
Settings\admin\Desktop\opensim-e7619f7
r17830\opensim-e7619f7\OpenSim\Region\CoreModules\Avatar\Attachments\AttachmentsModule.cs:line
 720
at 
OpenSim.Region.CoreModules.Avatar.Attachments.AttachmentsModule.RezSingleAttachmentFromInventory(IScenePresence
 sp,
UUID itemID, UInt32 AttachmentPt) in c:\Documents and 
Settings\admin\Desktop\opensim-e7619f7
r17830\opensim-e7619f7\OpenSim\Region\CoreModules\Avatar\Attachments\AttachmentsModule.cs:line
 308
at 
OpenSim.Region.CoreModules.Avatar.Attachments.AttachmentsModule.RezAttachments(IScenePresence
 sp) in c:\Documents
and Settings\admin\Desktop\opensim-e7619f7
r17830\opensim-e7619f7\OpenSim\Region\CoreModules\Avatar\Attachments\AttachmentsModule.cs:line
 142

--
OpenSim: 9 Region Standalone on 0.7.3 Dev
Physics: Open Dynamics Engine
OS: Windows XP 32 Bit
CPU: AMD Phenom II X4 840 3.2 GHz
Memory: 3 GB DDR3
Database: MySQL 5.1.11


_______________________________________________
Opensim-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/opensim-users


--
OpenSim: 9 Region Standalone on 0.7.3 Dev
Physics: Open Dynamics Engine
OS: Windows XP 32 Bit
CPU: AMD Phenom II X4 840 3.2 GHz
Memory: 3 GB DDR3
Database: MySQL 5.1.11



_______________________________________________
Opensim-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/opensim-users


--
Justin Clark-Casey (justincc)
http://justincc.org/blog
http://twitter.com/justincc
_______________________________________________
Opensim-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/opensim-users

Reply via email to