Mantis#1476. Thank you kindly, Melanie for a patch that:

0001476: [PATCH] Allow larger script state files to be loaded
The previous limitation on load file size was too small for 
larger script projects
0.6.0-stable
Charles Krinke 2008-06-07 15:46:43 +00:00
parent 80079e14e3
commit 2b83aa931c
1 changed files with 1 additions and 1 deletions

View File

@ -823,7 +823,7 @@ namespace OpenSim.Region.ScriptEngine.XEngine
{
FileInfo fi = new FileInfo(savedState);
int size=(int)fi.Length;
if (size < 130000)
if (size < 512000)
{
using (FileStream fs = File.Open(savedState,
FileMode.Open, FileAccess.Read, FileShare.None))