Wrote a program in qt which loads the posts Vkontakte and pictures to them.
Images are loaded like this:
connect(netReply, SIGNAL(readChannelFinished()), &loop, SLOT(quit()));
After the program begins to take ~150 MB 403 and creates a stream writes
QThread::start: Failed to create thread (the access Code is invalid.)
tried
connect(netReply, SIGNAL(readChannelFinished()), &loop, SLOT(quit()), Qt::DirectConnection);
if I understand correctly, there should be less threads.
but after starting the program the same thing happens.
Maybe somewhere is a limit on the run ~400 streams or on the size of the program memory 150 megabytes.
How to remove the limits, or how to reduce the number of threads?
or delete the empty threads. - dave34 commented on July 9th 19 at 11:05
- dave34 commented on July 9th 19 at 11:08