Skip to content
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

"sum line lenghts" never ends (freezes qgis)/memory leak #16383

Closed
qgib opened this issue Mar 22, 2013 · 9 comments
Closed

"sum line lenghts" never ends (freezes qgis)/memory leak #16383

qgib opened this issue Mar 22, 2013 · 9 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Crash/Data Corruption Processing Relating to QGIS Processing framework or individual Processing algorithms
Milestone

Comments

@qgib
Copy link
Contributor

qgib commented Mar 22, 2013

Author Name: Giovanni Manghi (@gioman)
Original Redmine Issue: 7420
Affected QGIS version: master
Redmine category:processing/qgis


With the attached vectors, if the line one is PostGIS, the tool "sum line lenghts" freezes qgis. Tested master with Windows.

It seems to work if both vectors are shapefiles.


@qgib
Copy link
Contributor Author

qgib commented Jun 1, 2013

Author Name: vinayan Parameswaran (vinayan Parameswaran)


I had this problem when running this tool(Ubuntu) just after you reported(even when two shapefiles were used). Memory usage was at a high. But today everything seems good. There was an issue with the progress bar showing incorrect progress which should be addressed in #16823.

Could you check it once again(just ignore the progress bar)?

@qgib
Copy link
Contributor Author

qgib commented Jun 1, 2013

Author Name: Giovanni Manghi (@gioman)


vinayan Parameswaran wrote:

I had this problem when running this tool(Ubuntu) just after you reported(even when two shapefiles were used). Memory usage was at a high. But today everything seems good. There was an issue with the progress bar showing incorrect progress which should be addressed in #16823.

Could you check it once again(just ignore the progress bar)?

Hi,

I just update on win/osgeo4w and tested the operation with the two attached shapes.

It doesn't work and now it seems there is a memory leak. The operation reach 48%, then qgis starts eating up memory and eventually finishes correctly. If the inputs are bigger then would lead to crash.

I already reported that there is also a (new) memory leak in the clip tool.


  • subject was changed from "sum line lenghts" never ends (freezes qgis) to "sum line lenghts" never ends (freezes qgis)/memory leak

@qgib
Copy link
Contributor Author

qgib commented Jun 1, 2013

Author Name: Giovanni Manghi (@gioman)


vinayan Parameswaran wrote:

I had this problem when running this tool(Ubuntu) just after you reported(even when two shapefiles were used). Memory usage was at a high. But today everything seems good. There was an issue with the progress bar showing incorrect progress which should be addressed in #16823.

Could you check it once again(just ignore the progress bar)?

and I see now that memory is not released after the operation.

@qgib
Copy link
Contributor Author

qgib commented Jun 1, 2013

Author Name: vinayan Parameswaran (vinayan Parameswaran)


I had the same issue(memory not released) a few weeks ago..the current master build on ubuntu does not seem to have it..qgis always staying under 100mb memory..

@qgib
Copy link
Contributor Author

qgib commented Jun 1, 2013

Author Name: Giovanni Manghi (@gioman)


vinayan Parameswaran wrote:

I had the same issue(memory not released) a few weeks ago..the current master build on ubuntu does not seem to have it..qgis always staying under 100mb memory..

will test also on Linux, but on Windows/osgeo4w (latest build) seems still an issue.


  • status_id was changed from Open to Feedback

@qgib
Copy link
Contributor Author

qgib commented Jun 1, 2013

Author Name: Giovanni Manghi (@gioman)


vinayan Parameswaran wrote:

I had the same issue(memory not released) a few weeks ago..the current master build on ubuntu does not seem to have it..qgis always staying under 100mb memory..

just tested on Linux/Ubuntu on a build dated 29 May, with the attached vectors and I still see the leak. The operation takes gradually 1gb of memory. Tested with bigger datasets it leads to crash.

@qgib
Copy link
Contributor Author

qgib commented Jun 2, 2013

Author Name: Giovanni Manghi (@gioman)


  • status_id was changed from Feedback to Open

@qgib
Copy link
Contributor Author

qgib commented Jun 16, 2013

Author Name: Giovanni Manghi (@gioman)


  • status_id was changed from Open to Closed
  • resolution was changed from to fixed

@qgib
Copy link
Contributor Author

qgib commented Apr 30, 2017

Author Name: Giovanni Manghi (@gioman)


The "ftools" category is being removed from the tracker, changing the category of this ticket to "Processing/QGIS" to not leave the category orphaned.

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Processing Relating to QGIS Processing framework or individual Processing algorithms Crash/Data Corruption labels May 24, 2019
@qgib qgib added this to the Version 2.0.0 milestone May 24, 2019
@qgib qgib closed this as completed May 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Crash/Data Corruption Processing Relating to QGIS Processing framework or individual Processing algorithms
Projects
None yet
Development

No branches or pull requests

1 participant