Insufficient memory for OPENXML query

Error constant SQLE_XQUERY_MEMORY_ERROR
ODBC 2 State ERROR
ODBC 3 State ERROR
Severity 17
SQLCODE –912
SQLSTATE WX016
Sybase error code 13572
Probable cause

The memory used by an OPENXML query may be proportional to the size of the largest subtree in the XML document that has nodes referred to by a single row in the result. Try increasing the cache size or rewriting the query so that rows refer to smaller subtrees.