Avoid problem with ParallelTable[]?

Hi,
i have following problem:

By executing code of the form:

counter = 0;
SetSharedVariable[counter]
Monitor[ParallelTable[
   
    counter++;
    

    (*CALCULATION*)
    expression = Sum[Integrate[...], {i, 1, numberofmodes}];
    
    (* OUTPUT *)
    expression
    
    , {modeindex, 1, numberofmodes}, Method -> "FinestGrained"]
  , ToString[counter] <> " of " <> ToString[numberofmodes]];

i get the error message:

DynamicLinkObject::linkd: Unable to communicate with closed link LinkObject["/home/Mathematica/Executables/wolfram" -subkernel -noinit -wstp,243,4].

DynamicKernels::rdead: Subkernel connected through KernelObject[1,local] appears dead.

DynamicParallel`Developer`QueueRun::req: Requeueing evaluations {72} assigned to KernelObject[1,local,<defunct>].

DynamicLaunchKernels::clone: Kernel KernelObject[1,local,<defunct>] resurrected as KernelObject[5,local].

The error occurs only for a large “large” values for my parameter “numberofmodes”.
For numberofmodes=30 everything works well, indeed for a larger set of modes (approx 70) the error occurs (unfortunately that requires a very long runtime (2h)).

Does someone has a clue where this error comes from or any idea how to fix that?

Best regards and many thanks in advance!

Memory consumption?

Hi,
generally the result of the evaluation is quite a small.
The Table contains a hundred elements and each is only a small expression.
I also check the RAM during the error occurs and its not overloaded.