MemoryStressAllocate(Int64, Byte) Method

Allocates the specified amount of physical memory for this instance and fills the memory with the specified value.

Definition

Namespace: DevCase.Core.IO.Devices.HardwareStress
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[SecurityCriticalAttribute]
public virtual void Allocate(
	long size,
	byte fillValue
)

Parameters

size  Int64
The amount of physical memory to allocate, in bytes.
fillValue  Byte
The value that will be used to fill the memory.

Exceptions

ArgumentException Value greater than 0 is required.

See Also