| Summary: | Kate crash trying to open 1.1GB file | ||
|---|---|---|---|
| Product: | [Applications] kate | Reporter: | Jernej <jernej.srebrnic> |
| Component: | general | Assignee: | KWrite Developers <kwrite-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | crash | CC: | christoph, waqar.17a |
| Priority: | NOR | Keywords: | drkonqi |
| Version First Reported In: | 23.08.4 | ||
| Target Milestone: | --- | ||
| Platform: | Neon | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/frameworks/ktexteditor/-/commit/651fe6dce0b19ea35945cea4da194dda65841562 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
Jernej
2023-12-27 12:11:00 UTC
That looks like in out of memory, but yes, that should not happen with 64 GB of RAM. how many lines does the file have? Could you retry with a master build? We started to optimize this. (In reply to Waqar Ahmed from comment #2) > how many lines does the file have? wc -l LPO_PARC.dbf 4 longer then expected. according to Wikipedia https://en.wikipedia.org/wiki/.dbf its expected, the records are fixed size, not separated by new line. the content is otherwise plain text. (In reply to Christoph Cullmann from comment #3) > Could you retry with a master build? We started to optimize this. have any kde neon builds a usefull version ? (testing, development) https://neon.kde.org/download is there a way to get a prebuild kate? Hmm, I think the issue is 1.1GB in 4 lines, that will work with none of our versions. That seems out of scope to support. A possibly relevant merge request was started @ https://invent.kde.org/frameworks/ktexteditor/-/merge_requests/663 Git commit 651fe6dce0b19ea35945cea4da194dda65841562 by Christoph Cullmann. Committed on 15/02/2024 at 20:27. Pushed by cullmann into branch 'master'. split lines early avoids that we OOM before we handle that M +7 -41 src/buffer/katetextbuffer.cpp M +36 -2 src/buffer/katetextloader.h https://invent.kde.org/frameworks/ktexteditor/-/commit/651fe6dce0b19ea35945cea4da194dda65841562 |