Table of Contents

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

long

Collector

public GcCollector Collector { get; init; }

Property Value

GcCollector

DurationSeconds

public int DurationSeconds { get; init; }

Property Value

int

End

public SessionEnd End { get; init; }

Property Value

SessionEnd

EvacuationFailures

The heap was too tight for G1 to move objects at least once.

public bool EvacuationFailures { get; init; }

Property Value

bool

ExplicitGcs

Collections somebody asked for with System.gc().

public int ExplicitGcs { get; init; }

Property Value

int

FullGcs

public int FullGcs { get; init; }

Property Value

int

GcCount

public int GcCount { get; init; }

Property Value

int

GcTimePercent

Share of the run the application was stopped for collection, in percent.

public double GcTimePercent { get; init; }

Property Value

double

JavaMajor

public int JavaMajor { get; init; }

Property Value

int

LiveSamples

How many collections PeakLiveMb and P95LiveMb come from.

public int LiveSamples { get; init; }

Property Value

int

ModCount

public int ModCount { get; init; }

Property Value

int

Mode

public MemoryMode Mode { get; init; }

Property Value

MemoryMode

OutOfMemory

The server reported running out of memory.

public bool OutOfMemory { get; init; }

Property Value

bool

P95LiveMb

95 % of the collections left less than this in use.

public long P95LiveMb { get; init; }

Property Value

long

PeakCommittedMb

The most heap the JVM held from the system.

public long PeakCommittedMb { get; init; }

Property Value

long

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

long

PeakPlayers

public int PeakPlayers { get; init; }

Property Value

int

PeakPrivateMb

The most private memory the process held.

public long PeakPrivateMb { get; init; }

Property Value

long

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

bool

SimulationDistance

public int SimulationDistance { get; init; }

Property Value

int

StartedUtc

public DateTime StartedUtc { get; init; }

Property Value

DateTime

ViewDistance

public int ViewDistance { get; init; }

Property Value

int