<p dir="ltr">Thanks Bernhard. I did try uninstalling my Python plugins with no effect. It however should not make any difference because I can recreate the issue manually which should not be affected by any plugins. </p>
<p dir="ltr">What I've done for my plugin, as I'm already using the pyspatialite library, is to replace qgis calls with direct writes with the spatialite library and I don't have any slow down. </p>
<p dir="ltr">It seems to me that something funny is going on with QGIS itself but I found a work around for my own issue for now. </p>
<p dir="ltr">Thanks again  </p>
<p dir="ltr">TSW</p>
<div class="gmail_quote">On Aug 19, 2014 11:58 PM, "Bernhard Ströbl" <<a href="mailto:bernhard.stroebl@jena.de">bernhard.stroebl@jena.de</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Trevor,<br>
<br>
just guessing: Is your plugin applying the editingStarted()/<u></u>editingStopped() signals? If not there are plugins around that do it and are known to slow down QGIS. So if it is not your plugin first thing would be to unload _all_ plugins and see if the problem persists. If not reload the plugins only one at a time to identify the one causing the problem.<br>

<br>
Bernhard<br>
<br>
Am 20.08.2014 01:42, schrieb Trevor Wiens:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I'm working on a QGIS plugin where I need to commit changes every time a<br>
new feature is added in an SQLite database. I was using<br>
<br>
layer.startEditing()<br>
layer.addFeature(feature, False) OR layer.addFeature(feature, True)<br>
layer.commitChanges()<br>
<br>
After about 10 to 15 features the system began to slow significantly<br>
with periods of 100% CPU usage increasing until the system became unusable.<br>
<br>
To assess if this was my code or something in QGIS 2.4 on Debian Wheezy,<br>
I created a simple point shapefile and added points and saved each time<br>
(both trying just saving and stopping editing and saving) and again at<br>
about 10 to 15 points the system failed.<br>
<br>
My request is simple.<br>
1. Can someone else confirm that this happens on other systems<br>
2. If so, is there some way around this until this fixed?<br>
<br>
Thanks<br>
<br>
TSW<br>
--<br>
Trevor Wiens<br>
Apropos Information Systems<br>
<a href="http://aproposinfosystems.com" target="_blank">aproposinfosystems.com</a> <<a href="http://aproposinfosystems.com" target="_blank">http://aproposinfosystems.com</a><u></u>><br>
Calgary, Alberta<br>
Ph. <a href="tel:403-973-5901" value="+14039735901" target="_blank">403-973-5901</a><br>
Fax <a href="tel:780-666-4580" value="+17806664580" target="_blank">780-666-4580</a><br>
<br>
<br>
</blockquote>
<br>
<br>
__________ Information from ESET Mail Security, version of virus signature database 10283 (20140820) __________<br>
<br>
The message was checked by ESET Mail Security.<br>
<a href="http://www.eset.com" target="_blank">http://www.eset.com</a><br>
<br>
<br>
______________________________<u></u>_________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org" target="_blank">Qgis-developer@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/<u></u>mailman/listinfo/qgis-<u></u>developer</a><br>
</blockquote></div>