public static interface SoMemoryError.Handler
Modifier and Type | Method and Description |
---|---|
void |
invoke(SoMemoryError error)
Callback to handle memory errors.
|
boolean |
invokeMemoryCleanup(long requestedByteSize)
Memory cleanup handling callback.
|
void invoke(SoMemoryError error)
error
- the posted errorboolean invokeMemoryCleanup(long requestedByteSize)
requestedByteSize
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.Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com