Out of Memory: Increasing Matlab's Virtual Memory

Click For Summary

Discussion Overview

The discussion revolves around issues related to memory limitations in the student version of Matlab, particularly when handling large arrays. Participants explore potential workarounds and share their experiences with different versions of the software.

Discussion Character

  • Debate/contested, Technical explanation, Conceptual clarification

Main Points Raised

  • One participant expresses frustration with Matlab's "out of memory" error when working with large arrays, questioning how to increase the virtual memory allocated to the program.
  • Another participant points out that the student version of Matlab has limitations on array sizes.
  • A suggestion is made to split large arrays into smaller vectors and use conditional statements to manage them, although this is acknowledged as not being an optimal solution.
  • A later reply humorously acknowledges the practicality of the proposed workaround, leading to a light-hearted exchange about the nature of the suggestion.
  • One participant announces their transition from the student version to the professional version of Matlab, expressing excitement about the increased capabilities.

Areas of Agreement / Disagreement

Participants generally agree on the limitations of the student version of Matlab, but there is no consensus on the best approach to handle memory issues, and the discussion includes a mix of technical suggestions and personal experiences.

Contextual Notes

The discussion does not resolve the underlying technical limitations or the effectiveness of the proposed workarounds, and it remains unclear how these solutions may vary in effectiveness based on specific use cases.

Who May Find This Useful

This discussion may be useful for students and users of Matlab who encounter memory limitations, particularly those using the student version, as well as those interested in practical solutions for managing large data sets in programming environments.

Clausius2
Science Advisor
Gold Member
Messages
1,433
Reaction score
7
I'm furious with Matlab. when I reach a 1*10.000 array or similar figures it says to me: "out of memory". Does anybody know how I can do larger the virtual memory dedicated to this programe?. I have a 40 GB and 500Mb RAM computer, so it would be enough for eating anything!.
 
Physics news on Phys.org
Are you using the student version?
 
-------->Yes.
 
There is a limiter on array sizes in the student version of Matlab.

You may be able to do a work-around by splitting it into two or more vectors and using if...else statements to determine which one to work with.

Not optimal, for sure, but you are paying 1/30th the price.
 
Thanks for helping. Your solution seems like given birth by an engineer, so practical... :smile:
 
Clausius2 said:
Thanks for helping. Your solution seems like given birth by an engineer, so practical... :smile:

Hrmm... I don't know if that was a jab or not... :rolleyes: :biggrin:
 
:smile: :approve: ;

It was not a malicious jab at all. It was an affectionate upper cut.

:wink: :zzz:
 
enigma said:
Are you using the student version?

NO MORE! NO MORE!

Now I haVE the professional version:



I'VE GOT THE POWER!



HA HA HA AHAHAHAHA... :biggrin: :rolleyes: :-p :smile: :bugeye: :smile:
 

Similar threads

  • · Replies 9 ·
Replies
9
Views
4K
  • · Replies 4 ·
Replies
4
Views
11K
  • · Replies 4 ·
Replies
4
Views
12K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
11K
  • · Replies 3 ·
Replies
3
Views
4K