Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: 64bits and memory problem
Replies: 18   Last Post: Oct 2, 2013 5:39 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
mail.plutus@gmail.com

Posts: 24
Registered: 3/9/05
64bits and memory problem
Posted: Oct 14, 2009 4:20 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

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.
(64-bit 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.

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?



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.