Click or drag to resize
SoMemoryErrorMemoryCleanupCallback Delegate

Memory cleanup handling callback.

Namespace: OIV.Inventor.Errors
Assembly: OIV.Inventor.Base (in OIV.Inventor.Base.dll) Version: 2023.1.3.0 (2023.1.3)
Syntax
public delegate bool MemoryCleanupCallback(
	ulong requestedByteSize
)

Parameters

requestedByteSize
Type: SystemUInt64

Return Value

Type: Boolean
Remarks

SoMemoryCleanupCB is called when Open Inventor is not able to allocate at least requestedSize bytes of memory. This notifies the application that available memory is too low. The application can try to release some memory to allow the allocation to succeed. If the callback returns true then Open Inventor will retry its allocation call.

See Also