Could not allocate resources to call external function

Error constant SQLE_ERROR_CALLING_FUNCTION
ODBC 2 state ERROR
ODBC 3 state ERROR
Severity 19
SQLCODE -622
SQLSTATE WW008
Sybase error code 13679
 Probable cause