@Erel Thanks. It is now solved.
I set the RAM level to 1500 in the b4aV0.1.ini
The file generally resides at C:\Users\<user name>\AppData\Roaming\Anywhere Software\Basic4android\b4aV0.1.ini
by setting MaxRamForDex to 1500
BTW , Erel, When the B4A is open and if I edit the ini file and add the value, it does not get stored. I mean actually it seems B4A keeps the old ini in RAM or somewhere and while closing it rewrites the INI with the RAM stored values. It is just for you.