Details
-
Type: Bug
-
Status: Open
-
Priority: Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Mantis ID:56435
Description
jalview.structure.StructureSelectionManager.setMapping method does not gracefully handle out of memory errors. This is a problem when working with very large structures - see attached virus particle.
Reproduce:
1. load PDB file onto Jalview (with 1G VM)
2. Opening the structure raises an unhandled error.
In this case, the mapping should be reclaimed from the initial sequence extraction, rather than by realigning the structure.
Alternatively, a more memory efficient alignment could be carried out (either by tiling the alignment matrix, or memory mapping the matrix from disk for a the applet's case).
****** ADDITIONAL INFORMATION ******
Example provided by Barry Kesner (kesner@med.unc.edu).
Reproduce:
1. load PDB file onto Jalview (with 1G VM)
2. Opening the structure raises an unhandled error.
In this case, the mapping should be reclaimed from the initial sequence extraction, rather than by realigning the structure.
Alternatively, a more memory efficient alignment could be carried out (either by tiling the alignment matrix, or memory mapping the matrix from disk for a the applet's case).
****** ADDITIONAL INFORMATION ******
Example provided by Barry Kesner (kesner@med.unc.edu).