minor tweaks to make tasstudio not run out of memory so extremely. maybe not at all?
This commit is contained in:
parent
c0c3c36e87
commit
9062c96ac3
|
@ -101,6 +101,9 @@
|
|||
</Reference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="..\VersionInfo.cs">
|
||||
<Link>VersionInfo.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="AboutBox.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
|
|
|
@ -515,6 +515,7 @@ namespace BizHawk.MultiClient
|
|||
{
|
||||
byte[] state = Global.Emulator.SaveStateBinary();
|
||||
Log.AddState(state);
|
||||
GC.Collect();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -246,7 +246,7 @@ namespace BizHawk.MultiClient
|
|||
private List<StateRecord> StateRecords = new List<StateRecord>();
|
||||
|
||||
//TODO: Make this size limit configurable by the user
|
||||
private int MaxStateRecordSize = 1024 * 1024 * 1024; //To limit memory usage.
|
||||
private int MaxStateRecordSize = 512 * 1024 * 1024; //To limit memory usage.
|
||||
|
||||
#endregion
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue