Re: [Github-comments] [geany/geany] Scintilla future change to rectangular selction key binding (#1568)
Saucefudge is hard to use, but I think Neil committed it to Scintilla 4 not the long term 3 branch, so we have some time, just look out for backports. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/1568#issuecomment-319837174
Re: [Github-comments] [geany/geany] Geany Locking up when typing or copying of text (#1540)
@codebrainz thanks, so if all the rest of data memory (the per line data and everything else) adds up to say 500-600MB then it will be exceeded on buffer resize for a file near 300-400MB. So it looks more and more like the problem, but it would be good if Geany didn't just hang :) -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/1540#issuecomment-319836228
Re: [Github-comments] [geany/geany] Geany Locking up when typing or copying of text (#1540)
> I don't know how much data memory 32 bit Windows allows, maybe its only 2GB 2GB for 32-bit processes running on 32 or 64-bit Windows (ex. Geany), 8TB for 64-bit processes on 64-bit Windows, by default. At least according to [their docs](https://msdn.microsoft.com/en-us/library/aa366778.aspx#memory_limits) -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/1540#issuecomment-319835796
Re: [Github-comments] [geany/geany] Scintilla future change to rectangular selction key binding (#1568)
Yes, and accidental multiple cursor creation needs to be disabled since Geany does not support multiple cursors. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/1568#issuecomment-319835756
Re: [Github-comments] [geany/geany] Geany Locking up when typing or copying of text (#1540)
> also nothing else on the laptop shows any signs of swapping locking up. Ok, swapping is probably not happening since it will make everything slow. > Within Windows its not until I start doing anything like entering text things > lock up with the LF down the side. Ok, so Geany hangs, but in a post above you say Scite says it has run out of memory and closes, is that what happens when you do the same (or reasonably similar) things with Scite? Because if Scite is saying Scintilla is out of memory, then its likely that Scintilla in Geany is too, but Geany misses the error and just gets in an infinite loop instead. That should be fixed if we can find it. However there are not many contributors to Geany who use Windows, which is why I am continuing to ask your assistance. (I don't even have windows in the house) > Do you really consider 250 MB - 300 MB as a ridiculously large file for 2017? There should be no hard limit in Geany, but as I said above, if its running out of memory then thats the limit, nothing we can do. So can you please be more specific about what you did so we can try to determine how much memory the things you do might take. Note its not always obvious what it takes. For example when you are editing and you increase the buffer contents beyond its current memory size the buffer memory must be increased in size, which means temporarily there are two copies in memory, as a new bigger buffer is allocated, and the contents of the old one copied to the new one, before the old one is de-allocated. And remember the buffer is already twice the size of the file since it has a second byte for each byte in the file for storing the styling information. So adding one character can cause the memory usage to be temporarily four times the file size, or 1.2GB for the 300MB file, which is a significant part of the 4GB that a 32 bit application can address, just for the buffer, without all the supporting structures. I don't know how much data memory 32 bit Windows allows, maybe its only 2GB. This happens inside Scintilla and is potentially Scite's "out of memory" message, so if you provide details of what you did to crash Scite/hang Geany we can look at its potential usage. Geany on Linux is a 64 bit program, so it will not run out of address space before real memory, and swapping kicks in which "hangs" the whole machine. As @codebrainz said, Scintilla and Geany's use-case is for editing human source files, so its code is designed on that premise. If it was designed specifically for large files it would probably be designed differently. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/1540#issuecomment-319834878
[Github-comments] [geany/geany] Scintilla future change to rectangular selction key binding (#1568)
Scintilla will be changing the key/mouse binding for rectangular selection, as per: https://groups.google.com/d/msg/scintilla-interest/kZcE8firI3A/dsBn0joZAwAJ Since Geany doesn't support multiple selections, and almost every X11 window manager captures Alt+drag for moving a window (has saved my bacon on a number of occasions), before this change lands in Geany, I propose we change Scintilla's new default back to the existing behaviour. While it's annoying that the Windows and non-Windows behaviour would remain inconsistent, it will probably save a lot of bug reports about this feature not working, and avoid having to change any related documentation as well. Ideally anyone interested would make this user configurable (if it is already, I couldn't find it) in the process. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/1568
Re: [Github-comments] [geany/geany] Geany Locking up when typing or copying of text (#1540)
> Do you really consider 250 MB - 300 MB as a ridiculously large file for 2017? For a source code file, it's very large. Even auto-generated source code would rarely (if ever) get that large. Not that it's a use case that shouldn't be supported if possible. If the machine can handle it and you're patient enough, then the only limit should be the size of a signed integer (usually 2^32) minus one. > @codebrainz keep_edit_history_on_reload is currently ticked. If you're Reloading the file (either by the menu, toolbar or Ctrl+r), then each time it will duplicate the entire file contents into memory. For example if you reload a 300MB file, it will put all 300MB into the undo buffer, plus whatever the new contents are will be resident in the buffer. If you reload it a second time, the undo buffer will contain 600MB of data, and so on. That's why I mentioned it. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/1540#issuecomment-319832284
Re: [Github-comments] [geany/geany] Geany Locking up when typing or copying of text (#1540)
Hi Elextr, The file opens fine within both Linux and Windows from both Geany and Scite. Within Windows its not until I start doing anything like entering text things lock up with the LF down the side maybe I have been too impatient to see if it ever unlocks from this position but as far as I recall I have left it in this state for quite some time and nothing has unlocked, also nothing else on the laptop shows any signs of swapping locking up. Do you really consider 250 MB - 300 MB as a ridiculously large file for 2017? I agree its a little larger than your average but the convenience I get keeping it as one file outweighs the pain it would be to maintain multiple files. At this moment in time I have invested too much time into Geany to switch.. :-o I use vi / vim / gvim all day long its not the same my mind is set to work in a totally different work flow... shudders... I honestly cant recall if I tested this on windows or linux but I have tested the size of the file just in case there were going to be issues down the road, about a year a go and things worked well then with over 600 MB of file... << older version of Geany probably version 1.25 as its still in my windows download folder date stamp 08/09/2015 so maybe a little over a year ago >> Regards Darren -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/1540#issuecomment-319727661