You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reading a 262 mb file allocates 916.65 mb of memory. Allocating over 3 times more memory than the file size seems a lot. But looking at your code I see no obvious inefficiencies. Do you think the allocated memory could be reduced?
The text was updated successfully, but these errors were encountered:
Partly the reason may be that the BDF files are stored with a 24-bits depth, while when the data are imported in Julia they are represented as 32-bit floats. However, I guess that can't explain a 3x difference. Maybe using a (memory-mapped file)[https://en.wikipedia.org/wiki/Memory-mapped_file] could be a solution to this issue. I've never tried this, so I'm not sure how it works, but it may be interesting to investigate this approach.
Reading a 262 mb file allocates 916.65 mb of memory. Allocating over 3 times more memory than the file size seems a lot. But looking at your code I see no obvious inefficiencies. Do you think the allocated memory could be reduced?
The text was updated successfully, but these errors were encountered: