Class MemorySession
- Namespace
- McServerLauncher.Services
- Assembly
- McServerLauncher.dll
What the app learned about memory during one run of a server.
public sealed record MemorySession : IEquatable<MemorySession>
- Inheritance
-
MemorySession
- Implements
- Inherited Members
Remarks
Stored as JSON, so: enums as numbers, appended to and never reordered, and every property has a default for a file written before it existed.
Properties
CeilingMb
public long CeilingMb { get; init; }
Property Value
Collector
public GcCollector Collector { get; init; }
Property Value
DurationSeconds
public int DurationSeconds { get; init; }
Property Value
End
public SessionEnd End { get; init; }
Property Value
EvacuationFailures
The heap was too tight for G1 to move objects at least once.
public bool EvacuationFailures { get; init; }
Property Value
ExplicitGcs
Collections somebody asked for with System.gc().
public int ExplicitGcs { get; init; }
Property Value
FullGcs
public int FullGcs { get; init; }
Property Value
GcCount
public int GcCount { get; init; }
Property Value
GcTimePercent
Share of the run the application was stopped for collection, in percent.
public double GcTimePercent { get; init; }
Property Value
JavaMajor
public int JavaMajor { get; init; }
Property Value
LiveSamples
How many collections PeakLiveMb and P95LiveMb come from.
public int LiveSamples { get; init; }
Property Value
ModCount
public int ModCount { get; init; }
Property Value
Mode
public MemoryMode Mode { get; init; }
Property Value
OutOfMemory
The server reported running out of memory.
public bool OutOfMemory { get; init; }
Property Value
P95LiveMb
95 % of the collections left less than this in use.
public long P95LiveMb { get; init; }
Property Value
PeakCommittedMb
The most heap the JVM held from the system.
public long PeakCommittedMb { get; init; }
Property Value
PeakLiveMb
The most heap in use after a collection: the nearest to what the server needed at once.
public long PeakLiveMb { get; init; }
Property Value
PeakPlayers
public int PeakPlayers { get; init; }
Property Value
PeakPrivateMb
The most private memory the process held.
public long PeakPrivateMb { get; init; }
Property Value
Pressured
The app found the server short of memory during the run (see MemoryPressure). Short of memory is not the same as out of it, and a run that was never reached 85 % of its ceiling can still have been.
public bool Pressured { get; init; }
Property Value
SimulationDistance
public int SimulationDistance { get; init; }
Property Value
StartedUtc
public DateTime StartedUtc { get; init; }
Property Value
ViewDistance
public int ViewDistance { get; init; }