Maximum number of memory segment exceeded problem in R8

Error Message: Maximum number of memory segments that notes can support has been exceeded. This problem comes after running for 1-2hrs when trying to get COLLECTIONDATA from a view using API NIFGetCollectionData.

Subject: Are you sure your API program is not leaking memory?

Check and make sure you are freeing all memory handles returned to your API program

jpaganet@us.ibm.com