Table of Contents

Class MemoryPlan

Namespace
McServerLauncher.Services
Assembly
McServerLauncher.dll

What a server starts with.

public sealed record MemoryPlan : IEquatable<MemoryPlan>
Inheritance
MemoryPlan
Implements
Inherited Members

Constructors

MemoryPlan(MemoryMode, long, IReadOnlyList<string>, MemoryCeilingReason, bool)

What a server starts with.

public MemoryPlan(MemoryMode Mode, long CeilingMb, IReadOnlyList<string> Flags, MemoryCeilingReason Reason, bool CappedTo32Bit)

Parameters

Mode MemoryMode

The mode in effect, which can differ from the one saved (see Effective(ServerConfig)).

CeilingMb long

The heap ceiling, -Xmx, in MB.

Flags IReadOnlyList<string>

The memory flags, in command-line order.

Reason MemoryCeilingReason

Why the ceiling is what it is.

CappedTo32Bit bool

The ceiling was lowered because the Java is 32-bit.

Properties

CappedTo32Bit

The ceiling was lowered because the Java is 32-bit.

public bool CappedTo32Bit { get; init; }

Property Value

bool

CeilingMb

The heap ceiling, -Xmx, in MB.

public long CeilingMb { get; init; }

Property Value

long

Flags

The memory flags, in command-line order.

public IReadOnlyList<string> Flags { get; init; }

Property Value

IReadOnlyList<string>

Mode

The mode in effect, which can differ from the one saved (see Effective(ServerConfig)).

public MemoryMode Mode { get; init; }

Property Value

MemoryMode

Reason

Why the ceiling is what it is.

public MemoryCeilingReason Reason { get; init; }

Property Value

MemoryCeilingReason