OpenWrt Forum Archive

Topic: how to free memory for some new package in openwrt

The content of this topic has been archived on 3 May 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi all,

I want to free some memory (RAM) to run a newly compiled package that has been successfully integrated into openwrt.
But the problem is that the command (for new package) does not run giving an error message of "can't allocate memory".

How to free memory...??

Shall i try to remove some packages not in use.....but will that solve the problem as only soft links will get removed i think.
how to go about it ??

You can try to kill some applications that are not needed to free the RAM, i.e. kill -KILLALL <Process ID>. Please be very carefully to kill any running process as this may cause the system to become very unstable and/or crashes. Be sure you know what you are doing.

The discussion might have continued from here.