At this time I reverted to Chaos Calmer since I wasn't able to really install anything at all.
I will be waiting for new builds made by Obsy from eko.one.pl.
His builds are available without LuCI which, I hope will help with this issue.
Had the same issue on a WD1043NDv1.
Was not aware of this thread, therefore I only tested with swap enabled, didn t work.
Meantime I have installed Extroot solution via Image Builder.
There I have no issues so far.
On Chaos Calmer I didn't need extroot to operate my router. I installed a bunch of packages and run the router for weeks without issues, but now on LEDE I can't really do anything because of those memory issues. I don't use LuCI and the RC1 images have one. I'm still waiting for obsy to release his modification. He said he didn't have issues with LEDE on his WR1043NDv1 routers. I will test those modifications when available and update this thread accordingly.
After that I restarted the device and proceeded with configuration and then I added SWAP only.
With this config I got weeks, even months without random reboots or hangs. SWAP utilisation is very low. A few MB at most.
Ok, so finally I got around to flashing LEDE on my WR1043NDv1.
On LuCI it's impossible to install most of the stuff. OPKG just hangs. Same thing without LuCI but setting up SWAP helps with that. Still on 15.05.1 I was able to install anything I wanted with the same amount of free RAM (I checked).
The routers hangs and crashes and the load is killing it. One time it was so bad that the LED had troubles with flickering I never saw this before on this unit. After a few seconds the device rebooted.
For some reason multiple times sysupgrade bricked my router. I had to use tftp to bring it back online. I noticed this happened to other people too, on other devices.
I do not recommend using LEDE on this device. The stability issues I came across where to big to be accepted.
15.05.1 comes hardly recommended at this time either, unless you are keeping packages (and kernel) up to date. Between a rock and a hard place, like one says.
If you can do without LuCI, you could rip it out (with the image generator) and include your extra packages the same way. It's far from ideal, but you'll have more free space afterwards - installing onto the overlay (which is what opkg does) always requires more space than including the same packages in the firmware image.
I have switched all my 32 MB RAM devices to builds without LuCI, for what it's worth.
It's around 4MB for CC and 3,6MB for LEDE but free space isn't an issue for me. I'm capable of fitting all of my software on it. I don't use or need LuCI.
Around 6-9MB of free RAM for both CC and LEDE. Yet, on CC I'm able to install the same packages without an issue.and on LEDE opkg just hangs. I get that 32MB of RAM is quite qlow but if it worked before why doesn't it work now?
Is the commit mentioned by @Borromini getting into LEDE 17.01?
Like I said before I don't have a problem with storage space. I'm able to fit all of the packages I need. I also don't use or need LuCI. I haven't been using it for quite some time now.
Did anyone encountered an issue when after using sysupgrade when router would just get bricked? I don't think this is supposed to be happening.
If you really want to use a device with only 32 MB RAM and install additional packages, the best way to is compile a personal firmware with the needed packages pre-installed. Either by building from scratch with the buildroot or by using the imagegenerator to cook the firmware.
There is a reason, why a device with at least 8 MB flash and 64 MB RAM is recommended...
reverted to trunk on Saturday after opkg reports out of memory in Luci and through ssh/putty.
Current status on Saturday's trunk install: (v1.8 hardware)
Model TP-Link TL-WR1043N/ND v1
Firmware Version LEDE Reboot SNAPSHOT r3293-f791fb4 / LuCI Master (git-17.034.72963-f1820de)
Kernel Version 4.4.46
Local Time Mon Feb 6 17:45:44 2017
Uptime 24h 5m 58s
Load Average 0.65, 0.16, 0.05
5252 kB / 27800 kB (18%)
3508 kB / 27800 kB (12%)
1744 kB / 27800 kB (6%)
IPv4 WAN Status
TP-Link TL-WR1043N/ND v1
LEDE Reboot 17.01.0-rc1 r3042-ec095b5 r0+3043-68a04db / LuCI 472dc4b9e2ca71c114f5da70cb612c1089b8daa7 branch (git-17.025.85178-472dc4b)
Wed Feb 8 18:16:01 2017
0h 28m 8s
0.77, 0.34, 0.23