Recent research introduces data gathering using mobile data collectors to conserve energy and elevate the hotspot problem. However, many of them suffer from buffer overflow due to the limited memory capacity of objects, even more, when dealing with heterogeneous Internet of Things (IoT) devices. Emerging bio-inspiration technologies provide a novel direction for data collection and make it more intelligent and available. In this paper, we present an intelligent data gathering schema by taking into consideration buffer overflow called Center Gravity Mobile data collector based on Salp Swarm Algorithm (CGMSSA).To conduct data collection to improve the network performance, we adopt a hybridized distributed bio-inspired technique to elect chefs and salp swarm intelligence to control data collector movement. First, we select chefs using grey wolf optimization. Then, several groups are formed. Then, a mobile data collector is adopted to access chefs, following the buffer overflow value and gather information. Considerable experiments are conducted to demonstrate that our solution can efficiently enhance the lifetime of the network and increase data throughput.