Nokia X and XL come with 512MB and 768MB RAM respectively and that is not a lot of memory for running big apps. Fortunately there is a way to free around 300MB RAM. You can do this by using a script called TweakDrypt which decreases memory usage. This is what it does:
{} Less RAM usage through zipalign
{} Graphics Enhancement
{} Overall Better Performance
{} Less lags through LMK Tweak and Various VM
Tweaks
{} Faster SDCARD Read/Write Speed
{} CWM / TWRP Flashable
{} Increase touchscreen sensitivity
{} System cleaner script for regular cleaning of system
{} better battery performance
{} Ad blocking
{} Entropy (optional)
{} GPS optimization script
{} BUILD.prop tweaks (optional)
{} Kernal tweaks
{} Sqlite optimization
Here are its installation instructions:
1. Delete all others ram scripts you have installed in "/system/etc/init.d"
2. Download the flash able zip.
3. Reboot into recovery mode.
4. Install the ZIP file
5. Reboot your phone when finished installation
6. Done
This script has an uninstaller script with it. For that open Terminal emulator
Type ‘su’ [enter]
Type ‘uninstall’ [enter]
Reboot for the clean uninstall