RachelAlcraft / LeuciWeb

Leucippus on the web
GNU General Public License v3.0
1 stars 0 forks source link

Memory managment #7

Closed RachelAlcraft closed 1 year ago

RachelAlcraft commented 1 year ago

Cryo-EM matrices are too large to load entirely in memory so a solution needs to be found to load portions of the matrix. There is also a problem with using the free tier on Azure as that is 32 bit, further reducing memory, but also making a problem with the dll. It is difficult to call a c++ dll from a c# application in 32 bit due to the interface between managed and unmanaged code.

Consequently the code will all be in c# so as to support the free tier fully.

RachelAlcraft commented 1 year ago

As it stands, even within x-ray structures, in 32 bit the structure 4rek cannot be loaded -

4rek = 359x303x274 - fails 1ejg= 203x215x187 - ok 6eex =36x23x64 - fast

A first effort could be simply to cap all matrices at 200 which could be better than nothing.