aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorBlueWall2012-09-06 05:13:10 -0400
committerBlueWall2012-09-06 05:18:08 -0400
commit5eb2526e889cd49d1c77e6e057f847cfd990268f (patch)
tree8ba0561f7296539dbce40ffd6a115d733b8d0cda /OpenSim
parentEnables cast from int to float for MOD* functions; (diff)
downloadopensim-SC_OLD-5eb2526e889cd49d1c77e6e057f847cfd990268f.zip
opensim-SC_OLD-5eb2526e889cd49d1c77e6e057f847cfd990268f.tar.gz
opensim-SC_OLD-5eb2526e889cd49d1c77e6e057f847cfd990268f.tar.bz2
opensim-SC_OLD-5eb2526e889cd49d1c77e6e057f847cfd990268f.tar.xz
0006270: Warp3D leaks memory on mono based systems
Thanks Hiro Lecker for a patch to reduce memory useage with Warp3D map module
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/CoreModules/World/Warp3DMap/Warp3DImageModule.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/World/Warp3DMap/Warp3DImageModule.cs b/OpenSim/Region/CoreModules/World/Warp3DMap/Warp3DImageModule.cs
index 9002a9f..ed9b127 100644
--- a/OpenSim/Region/CoreModules/World/Warp3DMap/Warp3DImageModule.cs
+++ b/OpenSim/Region/CoreModules/World/Warp3DMap/Warp3DImageModule.cs
@@ -208,6 +208,9 @@ namespace OpenSim.Region.CoreModules.World.Warp3DMap
208 bitmap = ImageUtils.ResizeImage(origBitmap, viewport.Width, viewport.Height); 208 bitmap = ImageUtils.ResizeImage(origBitmap, viewport.Width, viewport.Height);
209 } 209 }
210 210
211 GC.Collect();
212 m_log.Debug("[WARP 3D IMAGE MODULE]: GC.Collect()");
213
211 return bitmap; 214 return bitmap;
212 } 215 }
213 216
@@ -673,4 +676,4 @@ namespace OpenSim.Region.CoreModules.World.Warp3DMap
673 return result; 676 return result;
674 } 677 }
675 } 678 }
676} \ No newline at end of file 679}