mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 17:55:48 +08:00
now break several things at same time... sog/sop updates, threads options,...
This commit is contained in:
@@ -290,6 +290,7 @@ namespace OpenSim.Region.CoreModules.World.Archiver
|
||||
assetGatherer.GatherAll();
|
||||
|
||||
GC.Collect();
|
||||
|
||||
int errors = assetGatherer.FailedUUIDs.Count;
|
||||
m_log.DebugFormat(
|
||||
"[ARCHIVER]: {0} region scene objects to save reference {1} possible assets",
|
||||
|
||||
@@ -137,6 +137,7 @@ namespace OpenSim.Region.CoreModules.World.Archiver
|
||||
|
||||
foreach (KeyValuePair<UUID, sbyte> kvp in m_uuids)
|
||||
{
|
||||
|
||||
string thiskey = kvp.Key.ToString();
|
||||
try
|
||||
{
|
||||
@@ -162,7 +163,7 @@ namespace OpenSim.Region.CoreModules.World.Archiver
|
||||
|
||||
m_foundAssetUuids.Add(asset.FullID);
|
||||
m_assetsArchiver.WriteAsset(PostProcess(asset));
|
||||
if(++gccontrol > 5000)
|
||||
if(++gccontrol > 10000)
|
||||
{
|
||||
gccontrol = 0;
|
||||
GC.Collect();
|
||||
|
||||
Reference in New Issue
Block a user