when I try to read the data from snapshot for subhalo 96762 (in particular, the stars) the code crashes when trying to assign masses, velocities and other variables.
The code crashes when I try to do any operation over these variables (such as constrain around 2Re, filtering by mass or any other). Is there any other way to open the data trying to not exceed the memory?
Thanks in advance,
Pablo
Dylan Nelson
20 Apr '22
Dear Pablo,
There is a 10GB memory limit I believe, you won't be able to load massive datasets all at once.
To confirm you hit a memory limit, I'd suggest to switch to a small simulation to test (e.g. TNG100-3).
If you are hitting a memory limit, the way forward would be to think about how you can compute what you want, without loading all the stars in the entire snapshot at once.
Pablo Galan de Anta
21 Apr '22
Dear Dylan,
I've found the method to open massive subhaloes without exceeding the memory limit.
Hi,
when I try to read the data from snapshot for subhalo 96762 (in particular, the stars) the code crashes when trying to assign masses, velocities and other variables.
In particular
The code crashes when I try to do any operation over these variables (such as constrain around 2Re, filtering by mass or any other). Is there any other way to open the data trying to not exceed the memory?
Thanks in advance,
Pablo
Dear Pablo,
There is a 10GB memory limit I believe, you won't be able to load massive datasets all at once.
To confirm you hit a memory limit, I'd suggest to switch to a small simulation to test (e.g. TNG100-3).
If you are hitting a memory limit, the way forward would be to think about how you can compute what you want, without loading all the stars in the entire snapshot at once.
Dear Dylan,
I've found the method to open massive subhaloes without exceeding the memory limit.
Thanks for your help!