Does a System Wide Global List variable exist

  • Thread starter Thread starter Silvers11
  • Start date Start date
S

Silvers11

Guest
I have a 3 Dimensional List like this:

List<List<List<Vector128<byte>>>> dimensionLIST = new List<List<List<Vector128<byte>>>>();



Now, when I fill this List with the data I use for calculations, it will take up 20 GB of RAM memory.

The calculations that I do take 10 hours. So I have created a solution where I open up 10 instances of the application, where I have divided the work in 10 pieces which will make the calculation to only take 1 hour (I have 24 cores in the computer)

The problem now, is that each instance of the Form Application will need to read in this dimensionLIST which means that this would take up 20 GB * 10 = 200 GB RAM which is just not a solution.

My question is, if there is any possibility to put this dimensionLIST in some kind of System Wide Global List variable, - which can be accessed by all 10 instances?

(To mention is that I can't divide this dimensionLIST in 10 pieces because each instance actually needs the whole list)

Thank you!

Continue reading...
 
Back
Top