Probably the image you are uploading is too large. What is the file size of the image you are uploading? Perhaps use another tool to optimize the image to a smaller size before uploading... that is probably the best way to avoid this memory issue.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.