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

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

What release are you working with? When you mention the paths in the Parallel Configuration settings, are you referring to the AttachedFiles? If so, how large are the directories and/or files you are attaching?
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

Asked:

on 6 Mar 2013

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!