The Following 4 Users Say Thank You to skanky For This Useful Post: | ||
|
2013-08-20
, 20:34
|
Posts: 2,076 |
Thanked: 3,268 times |
Joined on Feb 2011
|
#52
|
Preventing Qalendar from being terminated on D-Bus activation timeout is as easy as registering a dummy service (one line of code). The real problem is that when the application is closed, the service is unregistered and the calendar is automatically restarted. I have no idea how to stop that.
Disabling the respawning can be the best solution because of simplicity (?) and resource usage, but as I have already mentioned a few times, I am afraid that there is some reason why Calendar is running in the background and mediaplayer or worldclock are not.
IIRC, even a hello world in Qt can take over 30 MB of memory, but the libraries are shared, so 2 Qt applications could take for example 35 MB total. But I guess that's still bad if Qt is not used in any of the startup applications.
Adding an option to run Qalendar in background would be only the first quick step, just to check if there are any problems after dumping the default calendar (stopping the respawning could serve that purpose as well, but I wouldn't be surprised if it is hardcoded somewhere). Later it could be replaced by some kind of non-Qt stub which would launch the real thing when required.
|
2013-08-22
, 05:24
|
|
Posts: 282 |
Thanked: 2,387 times |
Joined on Sep 2011
|
#53
|
One issue - and this may be Calendar's issue is that if I add three events to the 25th Aug at 09:30 with the repeats that you show above, the third added event seems to overwrite one of the others so I can only do two that way. For now I'll add the third to a future 25th date, but it makes this style a little more awkward.
Could you have a little daemon written in pure C to keepalive and stop the restarts and the actual program started from there when called correctly? QT would be loaded only then, so hopefully memory footprint would be minimal
The reason could be interaction with other osso-programs, if they want to add event or some such (address book adding birthday? something like it), nothing critical to qalendar functioning. We should emulate for compatibility reasons, all events are in the alarmd according to its documentation, calendar just registers an event there, no reason to keep it alive if we don't want to interact with it rather than its db.
The Following 18 Users Say Thank You to gidzzz For This Useful Post: | ||
ade, Estel, fw190, iceskateclog, impeham, int_ua, klinglerware, marmistrz, misiak, Mr.bot, PdxDoug, peterleinchen, reinob, sixwheeledbeast, skanky, szopin, TomJ, Wikiwide |
|
2013-08-22
, 07:32
|
Posts: 58 |
Thanked: 134 times |
Joined on Dec 2012
@ Vilnius, Lithuania
|
#54
|
|
2013-08-22
, 08:51
|
Posts: 188 |
Thanked: 308 times |
Joined on Jan 2013
@ UK
|
#55
|
|
2013-08-22
, 13:58
|
Posts: 1,100 |
Thanked: 2,797 times |
Joined on Apr 2011
@ Netherlands
|
#56
|
The Following 8 Users Say Thank You to ade For This Useful Post: | ||
|
2013-08-26
, 18:09
|
|
Posts: 282 |
Thanked: 2,387 times |
Joined on Sep 2011
|
#57
|
The Following 11 Users Say Thank You to gidzzz For This Useful Post: | ||
|
2013-08-27
, 15:45
|
Posts: 2,290 |
Thanked: 4,134 times |
Joined on Apr 2010
@ UK
|
#58
|
|
2013-08-31
, 12:10
|
Posts: 1,100 |
Thanked: 2,797 times |
Joined on Apr 2011
@ Netherlands
|
#59
|
Swap USS PSS RSS 22:58:04 160.0K 15.4M 16.6M 21.0M 23:28:26 256.0K 15.2M 16.4M 20.9M 23:58:47 352.0K 14.6M 16.0M 20.8M 00:29:08 5.2M 4.6M 5.4M 9.2M 00:59:29 5.3M 4.5M 5.2M 9.0M 01:29:50 5.3M 4.5M 5.2M 9.0M 02:00:10 5.3M 4.5M 5.2M 9.0M 09:34:12 5.6M 5.3M 6.7M 11.3M
Private + Shared = RAM used 22:58:04 15.3 MiB + 1.3 MiB = 16.7 MiB 23:28:26 15.2 MiB + 1.3 MiB = 16.5 MiB 23:58:47 14.6 MiB + 1.5 MiB = 16.2 MiB 00:29:08 4.6 MiB + 930.0 KiB = 5.5 MiB 00:59:29 4.5 MiB + 911.0 KiB = 5.4 MiB 01:29:50 4.5 MiB + 911.0 KiB = 5.4 MiB 02:00:10 4.5 MiB + 911.0 KiB = 5.4 MiB 09:34:12 5.3 MiB + 1.5 MiB = 6.9 MiB
|
2013-09-04
, 08:39
|
Posts: 30 |
Thanked: 89 times |
Joined on Jan 2009
|
#60
|
The Following 10 Users Say Thank You to deryo For This Useful Post: | ||
One issue - and this may be Calendar's issue is that if I add three events to the 25th Aug at 09:30 with the repeats that you show above, the third added event seems to overwrite one of the others so I can only do two that way. For now I'll add the third to a future 25th date, but it makes this style a little more awkward.