Hello, I am confronting a very weird problem when parallelizing some function. I understand that I am supposed to post a MWE but I could not recreate the issue in a simple problem.

```
@everywhere function simulSample(Profits,ν,J,TerminalT,RelevantT,N,S,params,thresh;RelevantPer=RelevantPeriod)
Dₑ = rand([0],J,1) # Final Condition
Dᵢ = rand([0],J,1) # Initial Condition
tempData=SharedArray{Int8}(J,RelevantT,S*N)
@inbounds @sync @distributed for n=1:S*N
#for n=1:N
#println(n)
tempData[:,:,n]=solver(Dᵢ,Dₑ,Profits[:,:,n],continent,cont_lang,language,J,TerminalT,RelevantT,RelevantPeriod,params,thresh,ν[:,:,n])
end
return tempData
end
```

This function is being called by another function in an iterative procedure. In the first iteration it works, but in the second iteration I get the following error

SystemError: mmap the operation completed successfully