qlist

QList: Out of memory

六眼飞鱼酱① 提交于 2019-11-27 07:19:06
问题 I have a graphical application written in Qt for embedded linux. Part of this application is to update a display screen every 250 ms. However, after about 8-10 hours the application crashes with a "QList: Out of memory" error. I've isolated the function and the lines (in a sense) where it happens, but I have no idea why it happens since I'm not using QList. The only active lines of code in this function are at the end of this question. I realize that QList doesn't ever 'shrink' the memory it