Posts

Showing posts with the label matlab java out of memory error

[Solved] Out of Memory error in Matlab solution, increase memory in java

Matlab Out of Memory error : The error in Matlab is due less memory allocated to matlab In matlab type below command to know maximum allocated memory. >> memory   Maximum possible array: 583 MB Memory available for all arrays: 1515 MB Memory used by MATLAB: 386 MB Physical Memory (RAM): 2014 MB    Solutions: 1. To increase memory, we need to increase memory allocated to java virtual machine. In matlab increase java heap memory to higher value File-> Preferences-> General-> Java Heap Memory. 2. Set 3GB Switch in Windows operating system https://www.google.com/search?q=3GB+switch+in+windows&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a&channel=sb  3. Increase windows virtual swap memory space (Right click )My Computer --> properties -> advanced system settings -> click settings in performance tab -> In performance options click advance -> chang...