JavaScript-1.5 Reference

JS_ReportOutOfMemory Function

Summary

Reports a memory allocation error for a specified JS execution context.

Syntax

void JS_ReportOutOfMemory(JSContext *cx);

Description

JS_ReportOutOfMemory calls JS_ReportError with a format string set to "out of memory". This function is called by the JS engine when a memory allocation in the JS memory pool fails.

See Also

Groups [ Function ]
Documents [ LXR ID Search ]
Entries [ JS_ReportError | JS_SetErrorReporter ]

This page was generated by APIDOC