IBM User Guide for Java V7 on Windows > Troubleshooting and support > Using diagnostic tools > Using the Reliability, Availability, and Serviceability Interface > API calls provided by JVMRI
InjectOutOfMemory
int InjectOutOfMemory( JNIEnv *env )
- Description
- Causes native memory allocations made after this call to fail. This function is intended to simulate exhaustion of memory allocated by the operating system.
- Parameters
- A valid pointer to a JNIEnv.
- Returns
- JNI_OK if the native allocation function is successfully swapped for the JVMRI function that always returns NULL, JNI_ERR if the swap is unsuccessful.
Parent: API calls provided by JVMRI
Error 404 - Not Found Error 404 - Not Found
The document you are looking for may have been removed or re-named. Please contact the web site owner for further assistance.