[Eric] slow problem saving file 4.2.0
Linos
info at linos.es
Tue Aug 12 00:38:06 BST 2008
Linos escribió:
> Linos escribió:
>> Hello,
>> i am using the new released eric4 version 4.2.0 (r2385), i like
>> this versions, the graphics are clearly more beautiful than before and
>> i think the highlight of current text and the better rope integration
>> are great new features, i only have a problem when i try to save the
>> changes to my script (2432 lines) i have to wait with the application
>> freezed about 3~4 seconds, i had not this problem with old 4.1
>> version, can i fix this problem in any way? I have other question, in
>> the project homepage in donate link i read this message about donations:
>>
>> Donations will be used to buy the required commercial licenses of Qt
>> and PyQt for Windows. This will enhance the support of this OS.
>>
>> Well i am using eric4 ever in linux so i dont have an special interest
>> on make it better in windows, i would like to support the develop of
>> the ide that i am using to my projects without attach my donation to
>> an specific platform, i suppose i should use the same link, no? Thanks
>> in advance.
>>
>> Regards,
>> Miguel Angel.
>> _______________________________________________
>> Eric mailing list
>> Eric at riverbankcomputing.com
>> http://www.riverbankcomputing.com/mailman/listinfo/eric
>>
>
> Well it seems that disable rope autocompletion and calltips fix the slow
> saving file for me, dont know why.
>
> Regards,
> Miguel Angel.
> _______________________________________________
> Eric mailing list
> Eric at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/eric
>
Wow it seems to have been fixed only in a file of the project, i have opened and save
other and i get a 99% cpu usage in this python process:
30971 ? Sl 0:34 /usr/bin/python /usr/lib/python2.5/site-packages/eric4/eric4.py
I have straced the pid and it is acessing all the files in the project subfolders and when
it finish it repeat the process for ever.
When i launch the app and load the project all is normal, when i save the first time the
cpu go at 99% and strace get this:
lstat64("/home/skuda/git/tpv/dialogos_generacion.py", {st_mode=S_IFREG|0644, st_size=4441,
...}) = 0
stat64("/home/skuda/git/tpv/dialogos_generacion.py", {st_mode=S_IFREG|0644, st_size=4441,
...}) = 0
stat64("/home/skuda/git/tpv/dialogos_generacion.py", {st_mode=S_IFREG|0644, st_size=4441,
...}) = 0
stat64("/home/skuda/git/tpv/stylesheets.txt", {st_mode=S_IFREG|0644, st_size=970, ...}) = 0
stat64("/home/skuda/git/tpv/stylesheets.txt", {st_mode=S_IFREG|0644, st_size=970, ...}) = 0
lstat64("/home/skuda/git/tpv/stylesheets.txt", {st_mode=S_IFREG|0644, st_size=970, ...}) = 0
in all the files, later this:
clock_gettime(CLOCK_MONOTONIC, {29860, 737298505}) = 0
clock_gettime(CLOCK_MONOTONIC, {29860, 737359649}) = 0
clock_gettime(CLOCK_MONOTONIC, {29860, 737385891}) = 0
clock_gettime(CLOCK_MONOTONIC, {29860, 737412014}) = 0
clock_gettime(CLOCK_MONOTONIC, {29860, 737438894}) = 0
read(7, 0x92687fc, 4096) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN}, {fd=8, events=POLLIN}, {fd=7, events=POLLIN}, {fd=9,
events=POLLIN}, {fd=12, events=POLLIN}, {fd=18, events=POLLIN}, {fd=20, events=POLLIN},
{fd=10, events=POLLIN}], 8, 93) = 0
clock_gettime(CLOCK_MONOTONIC, {29860, 833801578}) = 0
read(7, 0x92687fc, 4096) = -1 EAGAIN (Resource temporarily unavailable)
clock_gettime(CLOCK_MONOTONIC, {29860, 833875536}) = 0
clock_gettime(CLOCK_MONOTONIC, {29860, 833923349}) = 0
clock_gettime(CLOCK_MONOTONIC, {29860, 833950839}) = 0
clock_gettime(CLOCK_MONOTONIC, {29860, 833977453}) = 0
clock_gettime(CLOCK_MONOTONIC, {29860, 834005351}) = 0
read(7, 0x92687fc, 4096) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN}, {fd=8, events=POLLIN}, {fd=7, events=POLLIN}, {fd=9,
events=POLLIN}, {fd=12, events=POLLIN}, {fd=18, events=POLLIN}, {fd=20, events=POLLIN},
{fd=10, events=POLLIN}], 8, 97) = 0
clock_gettime(CLOCK_MONOTONIC, {29860, 937184370}) = 0
read(7, 0x92687fc, 4096) = -1 EAGAIN (Resource temporarily unavailable)
clock_gettime(CLOCK_MONOTONIC, {29860, 937315216}) = 0
clock_gettime(CLOCK_MONOTONIC, {29860, 937392512}) = 0
clock_gettime(CLOCK_MONOTONIC, {29860, 937452637}) = 0
clock_gettime(CLOCK_MONOTONIC, {29860, 937552932}) = 0
clock_gettime(CLOCK_MONOTONIC, {29860, 937596466}) = 0
read(7, 0x92687fc, 4096) = -1 EAGAIN (Resource temporarily unavailable)
if i close the project cpu usage go to normal levels. What can be the problem here?
Regards,
Miguel Angel.
More information about the Eric
mailing list