Hi Experts,

When i declare and create a instance of class in constructor of another class, i got this error
Uncaught exception java/lang/OutOfMemoryError
I know that this is because of storing data in a buffer more than its size and using images due large wastage of memory.

I don't know how to solve this.? and i hardly need your help?

Note : I'm using netbeans 6.8 and UI Framework j2mePolish.

Help me,
kumar.