Neutron, quark, and proto-neutron stars at the onset of formation of black-holes: the memory effectA. ClaretA&A, 562 (2014) A31DOI: https://doi.org/10.1051/0004-6361/201322024