Hi all,
I am working with a real time application where in i need to handle the data coming from socket at a speed of 2MBps.
i am using QQueue<QByteArray> where in i am reading 22 Bytes and storing it as QByteArray in QQueue after storing this data i will process it by taking 22Bytes at a time and updating it to a Qtreeview using QStandardItemModel.
my problem is i am not able to update the model at the rate at which the data is coming from socket resulting the QQueue is overloaded with huge data at after some time it is getting crashed.

Requesting help for the same.

Thanks in Advance.