필터 지우기
필터 지우기

'Out of memory problems'

조회 수: 1 (최근 30일)
pamela sulis
pamela sulis 2015년 10월 30일
편집: Adam 2015년 10월 30일
Hi! Matlab give me problem 'Out of memory'; I try different solutions:
- Give higher priority to Matlab.exe task
- Increase the page file size of your applications in general
- increase the Java heap size to its maximum possible value
but i continue to have problems. Can you give me any suggests? Thanks
  댓글 수: 4
Adam Barber
Adam Barber 2015년 10월 30일
How much data are you working with vs. how much available memory do you have?
You can use the "memory" command to get a sense of how much memory MATLAB has available at the moment.
Adam
Adam 2015년 10월 30일
편집: Adam 2015년 10월 30일
If you are working with large amounts of data you have to use methods to break the data up into chunks to load and process a bit at a time. How you do this depends on the nature of your data and which parts of it you need simultaneously, etc.
For example, a matfile allows you to work on large data sets without loading them into memory, but you have to get your data into a matfile in the first place.
At my work we occasionally work with large 3d data sets that are too big to feasibly fit in memory at any one time so I wrote a function that will read these in a block at a time and write them out to a matfile where the large data volume can be manipulated using the same indexing instructions, but remaining in file. This is slower than accessing data in memory of course, when the data can fit in memory, but it is an option.
If your data is in some arbitrary format though you have to work out how to split it up into manageable-sized chunks.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Workspace Variables and MAT-Files에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by