Rank: 465961 based on 0 downloads (last 30 days) and 0 file submitted
photo

Austin Abrams

E-mail

Personal Profile:

 

Watch this Author's files

 

Comments and Ratings by Austin Abrams
Updated File Comments Rating
12 Jun 2013 sharedmatrix SHAREDMATRIX Allows any Matlab object to be shared between Matlab sessions (w/o using file I/O). Author: Joshua Dillon

I'm having some trouble with cloning arrays above a particular size:

>> shmkey = 12345;
>> shmsiz = sharedmatrix('clone',shmkey,rand(524000,1));
>> sharedmatrix('free', shmkey);
>> shmsiz = sharedmatrix('clone',shmkey,rand(525000,1));
??? Error using ==> sharedmatrix
Unable to create shared memory segment.

If it's helpful:

$cat /etc/sysctl.conf
kern.sysv.shmmax=33554432
kern.sysv.shmmin=1
kern.sysv.shmmni=256
kern.sysv.shmseg=64
kern.sysv.shmall=8192

>> m525000 = rand(525000,1);
>> m524000 = rand(524000,1);
>> whos m*
Name Size Bytes Class Attributes

m524000 524000x1 4192000 double
m525000 525000x1 4200000 double

Any thoughts?

Contact us