Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
NCTM or The Math Forum.



Re: 64bits and memory problem
Posted:
Sep 17, 2013 2:47 AM


"ste me" wrote in message <hb5bq3$frt$1@fred.mathworks.com>... > I recently shifted to Ubuntu@64bits and I have a problem with Matlab r2009a&memory. > > The code makes use of a C file which is compiled via > >mex name.c > > In a 32bits architecture everything is fine. > Under 64 bits the file is correctly compiled, but the programs stops with the error > Function "mxGetIr_700" is obsolete in file "compat32.cpp", line > 282. > (64bit mex files using sparse matrices must be rebuilt with the > "largeArrayDims" option. See the R2006b release notes for more > details.) > > I then compiled using the suggested option: > > >mex largeArrayDims name.c > > and in this case I have an "out of memory" error. >
Hello, Did you solve this problem? I have the exactly same error as yours. I am stuck in it. I really need help? I am writing my thesis using a toolbox (bnt). It has some mex file. When I call the mex file. It shows an error saying that matlab is running out of memory.
> The system has 4Gb of RAM, 4Gb of swap and the system monitor gives about 1Gb of used RAM while running Matlab...so I guess the problem is related to the quantity of ram allocated to Matlab. > > Any idea?



