Would have expected Geany to be built 64 bit on that.
I am already sitting on 64 bit Geany.
Ok, Scintilla uses at least double the file size since it has to store styling, so a 2.6GB file won't fit in a 4GB memory but I doubt it would expand to fill 32GB Assume you have no process limits `ulimit -m`
$ ulimit -m unlimited