|
Terraria v1.4.4.9
Terraria source code documentation
|
Public Member Functions | |
| MemoryFailPoint (int sizeInMegabytes) | |
| void | Dispose () |
Static Package Functions | |
| static long | AddMemoryFailPointReservation (long size) |
Properties | |
| static long | LastKnownFreeAddressSpace [get, set] |
| static long | LastTimeCheckingAddressSpace [get, set] |
| static ulong | MemoryFailPointReservedMemory [get] |
Private Member Functions | |
| ~MemoryFailPoint () | |
| void | Dispose (bool disposing) |
Static Private Member Functions | |
| static void | AddToLastKnownFreeAddressSpace (long addend) |
| static ulong | GetTopOfMemory () |
| static unsafe bool | CheckForAvailableMemory (out ulong availPageFile, out ulong totalAddressSpaceFree) |
| static unsafe void | CheckForFreeAddressSpace (ulong size, bool shouldThrow) |
| static unsafe ulong | MemFreeAfterAddress (void *address, ulong size) |
| static unsafe void | GrowPageFileIfNecessaryAndPossible (UIntPtr numBytes) |
Private Attributes | |
| readonly ulong | _reservedMemory |
| bool | _mustSubtractReservation |
Static Private Attributes | |
| static readonly ulong | s_topOfMemory = GetTopOfMemory() |
| static long | s_hiddenLastKnownFreeAddressSpace |
| static long | s_hiddenLastTimeCheckingAddressSpace |
| static readonly ulong | s_GCSegmentSize = GC.GetSegmentSize() |
| static long | s_failPointReservedMemory |
Definition at line 7 of file MemoryFailPoint.cs.