diff options
author | UbitUmarov | 2019-04-15 23:32:22 +0100 |
---|---|---|
committer | UbitUmarov | 2019-04-15 23:32:22 +0100 |
commit | a83b7a292bc3c18c9c6a1aa17cfc2622b99804c4 (patch) | |
tree | 335491b0008480e334331b9e38ccb453a189bc46 /OpenSim/Region/ScriptEngine/YEngine/XMRInstMisc.cs | |
parent | update warp3d.dll (diff) | |
download | opensim-SC-a83b7a292bc3c18c9c6a1aa17cfc2622b99804c4.zip opensim-SC-a83b7a292bc3c18c9c6a1aa17cfc2622b99804c4.tar.gz opensim-SC-a83b7a292bc3c18c9c6a1aa17cfc2622b99804c4.tar.bz2 opensim-SC-a83b7a292bc3c18c9c6a1aa17cfc2622b99804c4.tar.xz |
mantis 8518: Yengine; we can't wait for GC (worse finalizers) to count released memory of some local variables, so add a pseudo free; fix memory account on timeslice rentry; change the folder for the debug IL files; fix memory usage on reset. This changes will only take effect on new compiles
Diffstat (limited to 'OpenSim/Region/ScriptEngine/YEngine/XMRInstMisc.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/YEngine/XMRInstMisc.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/YEngine/XMRInstMisc.cs b/OpenSim/Region/ScriptEngine/YEngine/XMRInstMisc.cs index ff8dae5..e97c71e 100644 --- a/OpenSim/Region/ScriptEngine/YEngine/XMRInstMisc.cs +++ b/OpenSim/Region/ScriptEngine/YEngine/XMRInstMisc.cs | |||
@@ -236,6 +236,13 @@ namespace OpenSim.Region.ScriptEngine.Yengine | |||
236 | return GetScriptFileName(m_ScriptBasePath, filename); | 236 | return GetScriptFileName(m_ScriptBasePath, filename); |
237 | } | 237 | } |
238 | 238 | ||
239 | public string GetScriptILFileName(string filename) | ||
240 | { | ||
241 | string path = Path.Combine(m_ScriptBasePath, "DebugIL"); | ||
242 | Directory.CreateDirectory(path); | ||
243 | return Path.Combine(path, filename); | ||
244 | } | ||
245 | |||
239 | public static string GetScriptFileName(string scriptBasePath, string filename) | 246 | public static string GetScriptFileName(string scriptBasePath, string filename) |
240 | { | 247 | { |
241 | // Get old path, ie, all files lumped in a single huge directory. | 248 | // Get old path, ie, all files lumped in a single huge directory. |