'Out of memory problems'
3 ビュー (過去 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
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
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 Center および File Exchange で Startup and Shutdown についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!