I'm working on a QGIS plugin where I need to commit changes every time a
new feature is added in an SQLite database. I was using

layer.startEditing()
layer.addFeature(feature, False) OR layer.addFeature(feature, True)
layer.commitChanges()

After about 10 to 15 features the system began to slow significantly with
periods of 100% CPU usage increasing until the system became unusable.

To assess if this was my code or something in QGIS 2.4 on Debian Wheezy, I
created a simple point shapefile and added points and saved each time (both
trying just saving and stopping editing and saving) and again at about 10
to 15 points the system failed.

My request is simple.
1. Can someone else confirm that this happens on other systems
2. If so, is there some way around this until this fixed?

Thanks

TSW
-- 
Trevor Wiens
Apropos Information Systems
aproposinfosystems.com
Calgary, Alberta
Ph. 403-973-5901
Fax 780-666-4580
_______________________________________________
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to