Why I am getting Memory problem in 64-bit Linux machine ?

1 view (last 30 days)
Hi,
I am trying to concatenating several data in a single file using MATLAB script. After successful run, matlab script will create a *.mat file (say 1.mat ) and size will be around 1.2 GB (<1.5GB). I am using a Linux shell script so that I can run several m-files (similar scripts to concatenating different sets of data and final output of each m-script will be approximately in same size) sequencially and after first m-script runs, the linux-shell scripts will strat to work on second m-scripts (that will create 2.mat file), then third,... so on.
I am working on a a 64-bit Linux server (with 8 processors) and running each m-script through linux shell script. Most of the m-file runs giving error message like "OUT OF MEMORY, type HELP MEMORY to get more information". Sometimes, one m-file is completed successfully (always not to be the first m-file present in the linux shell script) and remaining m-files run with the error message.
Incomplete file sizes are not same and no other job is running in the Linux server.
Looking forward for your suggestions in this regard.
Best regards Palash

Answers (0)

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!