Change the appinfo list creation!

I have tried to modify the app info creation. Please try this one it might solve the outofmemory problem we have. I have done changes to appinfo.java also.