While fetching data from API it uses more RAM memory and system gets hanged


#1

For fetching data for followers, mentions and retweets for any profile name it took more time to get data from API and also it uses more RAM memory. For some profile it is fetching proper data and for some profile ,system get hanged while fetching data. Is their any limit for fetching data from API. Please suggest any way or steps to fetch data properly. I am using ruby on rails application to integrate twitter API in my application. For some of the profile name for fetching data for followers, mentions and retweets from API, objects are utilizing more RAM memory.