Summary: | Kompare crashes opening files over 500MB | ||
---|---|---|---|
Product: | [Applications] kompare | Reporter: | jelizondob |
Component: | general | Assignee: | Kompare developers <kompare-devel> |
Status: | RESOLVED NOT A BUG | ||
Severity: | crash | CC: | annulen |
Priority: | NOR | ||
Version: | 4.0.0 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
jelizondob
2011-09-03 00:12:02 UTC
Your computer ran out of memory. RAM is a finite resource. Maybe it's better to catch the exception? (of course it will not work if Qt was built without exceptions, but I don't know if KDE supports this configuration) Also, this issue could be moved to feature requests: it should be possible for Kompare to do job without having all diff contents in memory at the same time. And what should I do with the exception, if I cannot allocate anything anymore? Show message box and quit gracefully. Showing a message box requires several memory allocations, which are going to fail if the memory is exhausted. Or even: 1) Abort diff processing 2) Clean up everything for this diff (should resque from OOM situation) 3) Show message box 4) Go back to empty Kompare with no diff selected |