> open("/home/melodie/badblocks.log.txt", O_RDONLY) = 9 > fstat(9, {st_mode=S_IFREG|0644, st_size=1547706436, ...}) = 0
You try to open a 1547706436 bytes (1.5Gb) file: /home/melodie/badblocks.log.txt Geany will try and load this file into memory, which as it records a style information byte with each data byte, will lead to at the very least 3Gb of memory. It's likely to use even more temporarily at some points (I wouldn't be surprised to see +1 times the file size when passing the buffer to the editing component, Scintilla, so that would make it 4.5Gb). Yes, it's kinda unfortunate, but doing it like this has other advantages (well, temporary duplication only makes things simpler, no other advantages). Realistically, the best we could do is ask the users whether they really want to open such huge files, allowing to back off early. If the file is loaded automatically at startup because it's part of the session, you can either drop the session with the `-s` command-line switch, or manually edit your ~/.config/geany/geany.conf (with something else than Geany, or `geany -i`), and remove the `FILE_NAME_` line corresponding to that file. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1594097 Title: [Xenial] Geany 1.27 eats all the CPU and RAM then the session freezes To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/geany/+bug/1594097/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs