matlab 编写程序时出现"out of memory"错误的 解决方案
2008-09-19 16:45
459 查看
解决方案之一:
修改操作系统对程序的内存支持值
具体做法如下:
(1)右键单击我的电脑 /属性 /高级 /启动和故障修复 /设置 /编辑 /
(2)将最后一行multi(0)disk(0)rdisk(0)partition(1)/WINDOWS="Microsoft Windows XP Professional" 复制,在下一行粘贴,并将粘贴一行改为multi(0)disk(0)rdisk(0)partition(1)/WINDOWS="Microsoft Windows XP Professional with 3GB switche" /3gb
(3)存储 /确定
(4)重新启动计算机
(5)在显示选择操作系统时,选择带有 3GB switche的一项
(6)打开matlab。
解决方案之二:
将矩阵数据分块,分别计算
解决方案之三:
将中间结果或者变量保存至硬盘中,并将该变量clear,需要用时在加载进来
解决方案之四:
数组在使用前,先初始化
修改操作系统对程序的内存支持值
具体做法如下:
(1)右键单击我的电脑 /属性 /高级 /启动和故障修复 /设置 /编辑 /
(2)将最后一行multi(0)disk(0)rdisk(0)partition(1)/WINDOWS="Microsoft Windows XP Professional" 复制,在下一行粘贴,并将粘贴一行改为multi(0)disk(0)rdisk(0)partition(1)/WINDOWS="Microsoft Windows XP Professional with 3GB switche" /3gb
(3)存储 /确定
(4)重新启动计算机
(5)在显示选择操作系统时,选择带有 3GB switche的一项
(6)打开matlab。
解决方案之二:
将矩阵数据分块,分别计算
解决方案之三:
将中间结果或者变量保存至硬盘中,并将该变量clear,需要用时在加载进来
解决方案之四:
数组在使用前,先初始化
相关文章推荐
- 运行的程序时,出现内存不足时的解决方式Exception in thread "main" java.lang.OutOfMemoryError: Java heap space(转)
- MyEclipse启动Tomcat出现Exception in thread "main" java.lang.OutOfMemoryError: PermGen space
- 修改桌面堆栈大小,解决运行大量程序时出现”Out of Memory”(内存不足)错误信息的问题
- Eclipse 报 “Exception in thread "main" java.lang.OutOfMemoryError: Java heap space ”错误的解决办法以及文本文件换行
- 编写各种OutOfMemory & StackOverflow程序
- Intellij出现错误Exception in thread "RMI TCP Connection(idle)" java.lang.OutOfMemoryError: PermGen space
- Stanford coreNLP 出现 in thread "main" java.lang.OutOfMemoryError: Java heap space
- MATLAB "Out of memory"问题(转载)
- tomcate 报 PermGen space 错误Exception in thread "main" java.lang.OutOfMemoryError: PermGen space
- 问题描述 Exception in thread "main" java.lang.OutOfMemoryError: Java heap space 解决方案[转] 一直都知道可以设置jvm he
- Exception in thread "main" java.lang.OutOfMemoryError: Java heap space 解决方案
- MATLAB "Out of memory"问题
- GridView输入Excel时出现"System.OutOfMemoryException: Out of memory"及其解决方案。
- Eclipse 报 “Exception in thread "main" java.lang.OutOfMemoryError: Java heap space ”错误的解决办法
- Gradle 使用Jetty插件启动web项目时出现"java.lang.OutOfMemoryError: PermGen space"解决方法
- Eclipse 报 “Exception in thread "main" java.lang.OutOfMemoryError: Java heap space ”错误的解决
- matlab调用Java程序时出现 Java.lang.OutOfMemoryErrot: GC overhead limit exceeded
- [程序代写推荐]Exception in thread "http-apr-8080-exec-6" java.lang.OutOfMemoryError: PermGen space 解决!
- MATLAB "Out of memory"问题
- MATLAB "Out of memory"问题(转载)