Thread Subject: force swap to overcome out of memory error?

Subject: force swap to overcome out of memory error?

From: craq

Date: 22 Jul, 2009 16:08:01

Message: 1 of 1

Hi,
I am using the spectogram function, which in combination with the images it produces requires a fair amount of RAM. Theoretically, I have enough virtual memory, but not enough RAM. Is there any way to force Matlab to use swap space? Having it run slowly would be better than not at all!

My system is Ubuntu 9.04 with Matlab 7.3.0.298 (R2006b). I've added vm.swappiness=80 to /etc/sysctl.conf, but haven't noticed any difference yet.

a@b:/$ free
                            total used free shared buffers cached
Mem: 2043800 1833080 210720 0 4596 334152
-/+ buffers/cache: 1494332 549468
Swap: 5855684 315780 5539904

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
out of memory craq 22 Jul, 2009 12:09:13
swap craq 22 Jul, 2009 12:09:13
rssFeed for this Thread

Contact us at files@mathworks.com