This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

memory allocation problem

I am reading a image into my code written in C, (Keil uVision4). My target board is MCB2300 with LPC2378. Initially I am creating an array with respect to width and height of my input image in the code. I can only read smaller images (size around 1.46KB) with out any problem. But If I am trying to read large images, my memory allocation is failing. I could n't allocate memory for the array. What changes I need to make to ensure my code works with large images?

0