Sharing large .mat files by placing them in /dev/shm
Show older comments
I have mat files on a server that are used by many standalone exes. Currently, each exe loads the .mat files from disk whenever they're called. The problem is that loading the files take a long time and each time the exe gets called it loads them again. Is it possible to make these mat files available in /dev/shm (in RAM) and load them from there? If so, when I load them from /dev/shm, will the load() call place them in RAM in a different location? I.e., will Matlab think it's loading them from disk and duplicate the .mat files in ram or will it recognize that they're already in memory?
Accepted Answer
More Answers (0)
Categories
Find more on Standard File Formats 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!