Info

This question is closed. Reopen it to edit or answer.

createJob() command resulting in "Out of memory" error.

2 views (last 30 days)
Rashid
Rashid on 6 Mar 2013
Closed: MATLAB Answer Bot on 20 Aug 2021
Hello,
Lately, when I try to create a parallel jobs, as soon as the command createJob() is executed, the memory consumption of MATLAB starts to rise, until I get "Out of memory" error. This is BEFORE I pass any task to the job and submit it. I also get the following Warning:
Warning: File not found or permission denied
> In distcomp.abstractjob.pSetFileDependencies>iZipFiles at 94
In distcomp.abstractjob.pSetFileDependencies at 42
In distcomp.configurableobject.pSetPropertyAndConfiguration at 21
In distcomp.abstractjob.pSetFileDependencies>iPostConstructionSetFileDependencies at 65
In distcomp.abstractdataentity.pFinalizeConstruction at 21
In distcomp.abstractscheduler.pCreateJob at 29
In distcomp.abstractscheduler.createJob at 48
In distcomp\private\generalCreateJob at 35
In createJob at 48
In test_gauss_par3 at 1
It seems that there might be a problem with dependencies? I did check the paths in Parallel Configurations settings - they are correct. What could cause this?
Thanks for any help, Rashid
  3 Comments
Rashid
Rashid on 8 Mar 2013
I have MATLAB 7.12.0 (R2011a) I was referring to FileDependencies and PathDependencies ("Jobs" Tab in Local Scheduler Configuration Properties). Thanks for the comment, it pointed me in right direction I think. The directories were quite large, >10GB cause they had some data files inside. I would never think that by simply referencing them, they would be loaded into the memory but that seemed to be the case. I now have put the functions which I want to reference into separate directory which I reference, which seems to solve my problem.

Answers (0)

This question is closed.

Products

Community Treasure Hunt

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

Start Hunting!