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

uVision - Out of Memory error

Hello,

I'm getting an error in uVision where I get a pop-up that says "Out of Memory" than uVision freezes.

I have a project and I can compile and download to my target without any problems. The error occur when I begin to debug.

uVision says "Loading Object code" in the status bar and it slowly moves up to 100% than the error occurs.

However, if I change the scatter-loading file to have more of the code in internal flash I don't get this error.

Does anyone have any idea why this error would occur? How is my scatter-loading affecting the debugger's Loading Object code?

Thanks.

Marc

Parents
  • Hi Andrew,

    I'm not sure what else I could describe. Yes the error has to do with the uVision PC memory but why?

    The Windows task manager shows that uVsion is using over 500MB of physical memory when it freezes - to me this is because something is going wrong.

    My PC is fairly new and I have 3GB of RAM.

    I guess to better understand what is going on, my question should be why does changing the target memory layout (scatter file) change the debugger "Loading Object Code"?

    Thanks.

    M

Reply
  • Hi Andrew,

    I'm not sure what else I could describe. Yes the error has to do with the uVision PC memory but why?

    The Windows task manager shows that uVsion is using over 500MB of physical memory when it freezes - to me this is because something is going wrong.

    My PC is fairly new and I have 3GB of RAM.

    I guess to better understand what is going on, my question should be why does changing the target memory layout (scatter file) change the debugger "Loading Object Code"?

    Thanks.

    M

Children