Question about QCameraImageCapture
-
Yes,
After cameraImageCapture1->capture(); two thousand times. -
Did you check with a memory analyzer what as going on ?
-
I try analyzer.
like this:!http://sigmaccc.myweb.hinet.net/temp/20140901173.jpg(msg1)!
!http://sigmaccc.myweb.hinet.net/temp/20140901170.jpg(msg2)!I still don’t know how to solve.
Any help would be appreciated!
thanks a lot. -
Check with the top command the memory consumption of your application
-
I try top command.
like this:
!http://sigmaccc.myweb.hinet.net/temp/20140904175.jpg(msg1)!
!http://sigmaccc.myweb.hinet.net/temp/20140904176.jpg(msg2)!Seems to be a memory problem.
But,I don’t know why. -
-
I try
(1)void OncameraImageCapture1imageCaptured(int, const QImage &image1)
(2)echo 3 > /proc/sys/vm/drop_cachessync
(3)The other webcam(Logitech C270 Webcam)
but the problem persists.
-
Since Qt 5.4 Alpha has been release, can you try with to see if you still experience this ?
On a side note, 1Go of RAM ?
-
Yes,1 GB RAM.
I try Qt 5.4 Beta.
but the problem persists./opt/Qt5.4.0/Examples/Qt-5.4/multimediawidgets/camera
has the same problem too. -
Then you should take a look at the "bug report system":http://bugreports.qt-project.org to see if it's something known
-
I find this.
"QTBUG-41606...":https://bugreports.qt-project.org/browse/QTBUG-41606?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel
SGaist,thank you very much.