Which distro for 256 MB of RAM

I’ve been using OpenELEC 8.0.3 (with Kodi 17.1) on my old Raspberry Pi, that has only 256 MB of RAM.

It works fine for most of the time, but sometimes it seems to be running out of memory.
Everything just hang and if it does respond to keys there is like a few minutes long lag…
Then I need to restart.

I was wondering if you can recommend some (maybe older) distribution, that would be more optimal for the little RAM that my old board has.