mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 02:36:00 +08:00
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
This commit is contained in:
@@ -236,6 +236,13 @@ namespace OpenSim.Region.ScriptEngine.Yengine
|
||||
return GetScriptFileName(m_ScriptBasePath, filename);
|
||||
}
|
||||
|
||||
public string GetScriptILFileName(string filename)
|
||||
{
|
||||
string path = Path.Combine(m_ScriptBasePath, "DebugIL");
|
||||
Directory.CreateDirectory(path);
|
||||
return Path.Combine(path, filename);
|
||||
}
|
||||
|
||||
public static string GetScriptFileName(string scriptBasePath, string filename)
|
||||
{
|
||||
// Get old path, ie, all files lumped in a single huge directory.
|
||||
|
||||
Reference in New Issue
Block a user