The Question is:
I have a run time error :-
%TSS-F-INSFRESRC, insufficent resources to execute request
%TRACE-F-TRACEBACK, symbolic stack dump follows
Due to expanding data on database, a program is modified to return 3000 data
items instead of 250.
The TDMS FORM displays 5 fields across the page, and a scrolled region of 15
lines. This is used to input and return data to/from the the database. The
RECORD array has recently been increased from 250 to 3000. Also the REQUEST.
Program conpiles and run, but give fault message.
If I reduce all values tp 750 instead of 3000, everything works ok.
Any ideas would be greatly appreciated.
The Answer is :
Increase your process quotas, and specifically your process I/O
quotas and your timer queue quotas: specifically BYTLM, ASTLM,
TQELM, and the various I/O count limits. Also check to ensure
that all parameters to the TDMS calls are valid.
This message is generally signalled when the request attempts to
cause TDMS to allocate (or to use) more memory than the internal
data structures will allow.
This cam potentially arise if the scroll region is larger than is
supported, for instance. The Release Notes (Section 2.8 in TDMS
V1.6 doc) provides an algorithm for determining the the size of
the scroll region. The size of the scroll region cannot be larger
than 65,535 bytes (in 1.6 or later).
This message can also be signalled on a call to TSS$CLOSE or
TSS$CLOSE_A (in TDMS V1.6 or later). This will happen if the
process quota for ASTLM or TQELM is not large enough. Please
refer to the release notes for more information about these two
quotas (Section 2.10 in the TDMS V1.6 doc).