Why am I getting ERR_SM_NO_RESOURCES errors returned by the TiNG API?

ERR_SM_NO_RESOURCES (-107) returned by a TiNG API call indicates you have run out of resources on the DSP on which you are trying to execute the API call.   When you get this error you should check the following:-

  1. Are you destroying resources (channels, VMPs etc.) once you have finished using them?
  2. Are you only downloading the TiNG firmware you require to the DSPs?
  3. Linux and Solaris ONLY: Do you have a high enough file descriptor limit?  This can be checked using ?ulimit -n?.  Exactly how high this limit should be will vary according to your application.  However, this should normally be higher than the default 1024.

If you answer 'yes' to these three questions, then you may need to increase the number of DSPs.