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
ModeMemoryModeThe mode in effect, which can differ from the one saved (see Effective(ServerConfig)).
CeilingMblongThe heap ceiling,
-Xmx, in MB.FlagsIReadOnlyList<string>The memory flags, in command-line order.
ReasonMemoryCeilingReasonWhy the ceiling is what it is.
CappedTo32BitboolThe 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
CeilingMb
The heap ceiling, -Xmx, in MB.
public long CeilingMb { get; init; }
Property Value
Flags
The memory flags, in command-line order.
public IReadOnlyList<string> Flags { get; init; }
Property Value
Mode
The mode in effect, which can differ from the one saved (see Effective(ServerConfig)).
public MemoryMode Mode { get; init; }
Property Value
Reason
Why the ceiling is what it is.
public MemoryCeilingReason Reason { get; init; }