MySettings::globalInstance()->setAttemptModelLoad(QString());// clear the flag
if(!m_isServer)
LLModelStore::globalInstance()->releaseModel(m_llModelInfo);// release back into the store
m_llModelInfo=LLModelInfo();
emitmodelLoadingError(QString("Previous attempt to load model resulted in crash for `%1` most likely due to insufficient memory. You should either remove this model or decrease your system RAM usage by closing other applications.").arg(modelInfo.filename()));