Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

out of memory problem

조회 수: 1 (최근 30일)
Mahua Nandy(Pal)
Mahua Nandy(Pal) 2014년 11월 20일
마감: MATLAB Answer Bot 2021년 8월 20일
The input of my program is an image. It gives out of memory error. But the same program runs successfully with less resolution version of the same image is used as input. How can I be able to solve this?
  댓글 수: 2
Adam
Adam 2014년 11월 20일
Use the lower resolution version?
Mahua Nandy(Pal)
Mahua Nandy(Pal) 2014년 11월 20일
Yes, image with less no. of pixels(height and width)

답변 (1개)

Image Analyst
Image Analyst 2014년 11월 20일
Use clear to remove any large variables that are no longer needed by the time you get to the line that throws the exception.
Get a better computer, a 64 bit one with more RAM memory.
Operate on your data in "chunks" that are smaller and able to fit into memory.
What is the resolution? What are you trying to do with it? If you're trying to get something like mean intensity, chances are that you can use a subsampled image and get the same measurements out of it.

이 질문은 마감되었습니다.

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by