MemoryStressAllocate(Int64) Method
Allocates the specified amount of physical memory for this instance and fills the memory with zeros.
Namespace: DevCase.Core.IO.Devices.HardwareStressAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public virtual void Allocate(
long size
)
Public Overridable Sub Allocate (
size As Long
)
Dim instance As MemoryStress
Dim size As Long
instance.Allocate(size)
public:
virtual void Allocate(
long long size
)
abstract Allocate :
size : int64 -> unit
override Allocate :
size : int64 -> unit
No code example is currently available or this language may not be supported.
Parameters
- size Int64
-
The amount of physical memory to allocate, in bytes.
ArgumentException
|
Value greater than 0 is required.
|