-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
High memory usage with Snap geometries to layer and "exception:unknown" message #27264
Comments
Author Name: Nyall Dawson (@nyalldawson) Duplicate of #26385
|
Author Name: Antoine Lafranchis (@alafr) I still experience abnormally high memory usage and Qgis freezing when snapping points to lines with small tolerance.
|
Author Name: Giovanni Manghi (@gioman) Antoine Lafranchis wrote:
sure have you tested a recent build?
|
Author Name: Antoine Lafranchis (@alafr) I use build 4d5dad8.
|
Author Name: Giovanni Manghi (@gioman)
|
On the latest master, using such (unnecessary?) small tolerance, it (still) leaks memory eating up all of it and causing a system freeze. |
This was solved by #44766 Please reopen if necessary. |
Author Name: Antoine Lafranchis (@alafr)
Original Redmine Issue: 19436
Affected QGIS version: 3.7(master)
Redmine category:digitising
In some circumstances, the computer freezes with 99.9% memory usage (then task manager stops responding...) when using the algorithm 'Snap geometries to layer'.
It apparently happens only when snapping a line layer to a point reference layer, with a small tolerance (0.00001 or lower).
It happend initially on a huge shapefile with geometry errors, but then I could reproduce it with tempopary layers: a line layer with a single line and a point layer with 3 points: the 1st point was precisely on a vertex, the 2nd point close to a second vertex (within the tolerance radius) and the 3rd point quite far from the line.
Because I had to "brutally" shut down and restart the computer, I don't have any test file to attach and no crash log. The only details that were left were the processing history: ```processing.run("qgis:snapgeometries", {'INPUT':'Point?crs=EPSG:4326&uid={50146ea0-3a7a-4515-8241-e842f2ef1717}','REFERENCE_LAYER':'LineString?crs=EPSG:4326&uid={c6586332-d416-495e-868d-e34430dab439}','TOLERANCE':1e-5,'BEHAVIOR':0,'OUTPUT':'memory:'})
The text was updated successfully, but these errors were encountered: