Problem with app working
-
Hi,
I write simple app and I have a problem. For first hours the app works perfectly but after 2 hours work vety slow:
When app work slow I check:
-memory in PC - is the same load when I turn app,
-procesor in PC - is the same load when I turn app
-hard disc -no changes.Next I close my app and run again and still work slow ....... any idea? I must restart PC and then it work next 1 hour....
I would be really grateful for any tips what can I should check to find problem -
Hi,
I write simple app and I have a problem. For first hours the app works perfectly but after 2 hours work vety slow:
When app work slow I check:
-memory in PC - is the same load when I turn app,
-procesor in PC - is the same load when I turn app
-hard disc -no changes.Next I close my app and run again and still work slow ....... any idea? I must restart PC and then it work next 1 hour....
I would be really grateful for any tips what can I should check to find problem@Damian7546 hi,
What does your app do ?
What does it process ?
What resources does it access ? -
Define "slow"....
-
@Damian7546 hi,
What does your app do ?
What does it process ?
What resources does it access ?@SGaist The app:
- app sent frame to printer by RS232 - asynchronous communication
- app sent http request
- app have gui interface written in QML , only three screen opening by emitted signals from qt logic
- share several register in Modbus TCP Server.
- communicate with converter DIDO by Modbus RTU Master.
.......................
Firstly the last point: (Modbus RTU Master) I had in other threat and then was awful... because app work like I said about 1 hour.... and now I rewrited my code and did this communication asynchrously ... is better... App now works about six hours and still is ok. ... But how it is possible that memory,processor, and disk was in good condition and after restat application, the application has not been restored to proper operation... I really don't know where to look for the problem -
@SGaist The app:
- app sent frame to printer by RS232 - asynchronous communication
- app sent http request
- app have gui interface written in QML , only three screen opening by emitted signals from qt logic
- share several register in Modbus TCP Server.
- communicate with converter DIDO by Modbus RTU Master.
.......................
Firstly the last point: (Modbus RTU Master) I had in other threat and then was awful... because app work like I said about 1 hour.... and now I rewrited my code and did this communication asynchrously ... is better... App now works about six hours and still is ok. ... But how it is possible that memory,processor, and disk was in good condition and after restat application, the application has not been restored to proper operation... I really don't know where to look for the problem@Damian7546 said in Problem with app working:
I really don't know where to look for the problem
You would need to run your app through a profiler to see where it spends most time.
-
@Damian7546 said in Problem with app working:
I really don't know where to look for the problem
You would need to run your app through a profiler to see where it spends most time.
@jsulm How do this ?
Actually I run my app in Debian by script prepared by CQtDeployer ...I understand that problem with
ACPI BIOS Error Bug
when my Debian is starting ,it shouldn't be the cause of the problem ?