問(wèn):“/”應(yīng)用程序中的服務(wù)器錯(cuò)誤。引發(fā)類(lèi)型為“System.OutOfMemoryException”的異常。說(shuō)明: 執(zhí)行當(dāng)前 Web 請(qǐng)求期間,出現(xiàn)未處理的異常。請(qǐng)檢查堆棧跟蹤信息,以了解有關(guān)該錯(cuò)誤以及代碼中導(dǎo)致錯(cuò)誤的出處的詳細(xì)信息。
異常詳細(xì)信息: System.OutOfMemoryException: 引發(fā)類(lèi)型為“System.OutOfMemoryException”的異常。
源錯(cuò)誤:
執(zhí)行當(dāng)前 Web 請(qǐng)求期間生成了未處理的異常??梢允褂孟旅娴漠惓6褩8櫺畔⒋_定有關(guān)異常原因和發(fā)生位置的信息。
[OutOfMemoryException: 引發(fā)類(lèi)型為“System.OutOfMemoryException”的異常。]
System.ModuleHandle.GetDynamicMethod(Void* module, name, Byte[] sig, resolver) 0
System.Reflection.Emit.DynamicILGenerator.GetCallableMethod(Void* module) 85
System.Reflection.Emit.DynamicMethod.GetMethodDescriptor() 144
System.Reflection.Emit.DynamicMethod.CreateDelegate(Type delegateType) 25
NHibernate.Bytecode.Lightweight.ReflectionOptimizer.GenerateSetPropertyValuesMethod(IGetter[] getters, ISetter[] setters) 1038
NHibernate.Bytecode.Lightweight.ReflectionOptimizer..ctor(Type mappedType, IGetter[] getters, ISetter[] setters) 84
NHibernate.Bytecode.Lightweight.BytecodeProviderImpl.GetReflectionOptimizer(Type mappedClass, IGetter[] getters, ISetter[] setters) 33
NHibernate.Tuple.Entity.PocoEntityTuplizer..ctor(EntityMetamodel entityMetamodel, mappedEntity) 359
NHibernate.Tuple.Entity.EntityEntityModeToTuplizerMapping..ctor(PersistentClass mappedEntity, em) 289
NHibernate.Tuple.Entity.EntityMetamodel..ctor(PersistentClass persistentClass, ISessionFactoryImplementor sessionFactory) 3938
NHibernate.Persister.Entity.AbstractEntityPersister..ctor(PersistentClass persistentClass, ICacheConcurrencyStrategy cache, ISessionFactoryImplementor factory) 602
NHibernate.Persister.Entity.SingleTableEntityPersister..ctor(PersistentClass persistentClass, ICacheConcurrencyStrategy cache, ISessionFactoryImplementor factory, mapping) 206
NHibernate.Persister.PersisterFactory.CreateClassPersister(PersistentClass model, ICacheConcurrencyStrategy cache, ISessionFactoryImplementor factory, cfg) 83
NHibernate.Impl.SessionFactoryImpl..ctor(Configuration cfg, mapping, settings, listeners) 1267
NHibernate.Cfg.Configuration.BuildSessionFactory() 177
DAO.F_ArticleDAO.GetArticleList(Int32 Start, Max, _where) 149
Web.Default.BindInfo() 45
Web.Default.Page_Load(Object sender, e) 24
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, o, t, e) 14
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, e) 35
System.Web.UI.Control.OnLoad(EventArgs e) 99
System.Web.UI.Control.LoadRecursive() 50
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, includeStagesAfterAsyncPoint) 627
版本信息: .NET 版本:2.0.50727.8762; ASP.NET 版本:2.0.50727.8762,網(wǎng)站無(wú)法登陸了
答:您好,查看您該問(wèn)題,當(dāng)前提供的.net錯(cuò)誤提示是說(shuō)內(nèi)存溢出,您可以參考http://outofmemory.cn/c/dotNet-outOfMemoryException 去核實(shí)查看一下(該類(lèi)情況的出現(xiàn),也有可能是您網(wǎng)站sql數(shù)據(jù)庫(kù)取的數(shù)據(jù)量太大了,超出內(nèi)存的空間 ,所以報(bào)了這個(gè)錯(cuò),那么建議優(yōu)化sql查詢),非常感謝您長(zhǎng)期對(duì)我司的支持!
問(wèn):出問(wèn)題我遠(yuǎn)程時(shí)也無(wú)法登陸云服務(wù)器,只能聯(lián)系你們嗎
答:您好,根據(jù)您當(dāng)前的描述和之前工單中提供的錯(cuò)誤,當(dāng)前懷疑您應(yīng)該就是當(dāng)時(shí)服務(wù)器內(nèi)存不足導(dǎo)致網(wǎng)站無(wú)法訪問(wèn)服務(wù)器無(wú)法遠(yuǎn)程連接,重啟一次服務(wù)器重新釋放內(nèi)存資源后就可以恢復(fù)正常,如經(jīng)常出現(xiàn)該問(wèn)題,建議您在下次可以通過(guò)http://ps-sw.cn/faq/list.asp?unid=720 服務(wù)器后臺(tái)控制臺(tái)連接到服務(wù)器上去,看看對(duì)應(yīng)服務(wù)器本地內(nèi)存使用情況,從而進(jìn)行核實(shí)排查處理,非常感謝您長(zhǎng)期對(duì)我司的支持!
西部數(shù)碼(west.cn)是經(jīng)工信部、ICANN、CNNIC認(rèn)證審批,持有ISP、云牌照、IDC、CDN、頂級(jí)域名注冊(cè)商等全業(yè)務(wù)資質(zhì)的正規(guī)老牌服務(wù)商,自成立至今20余年專(zhuān)注于域名注冊(cè)、虛擬主機(jī)、云服務(wù)器、企業(yè)郵箱、企業(yè)建站等互聯(lián)網(wǎng)基礎(chǔ)服務(wù)!
截止目前,已經(jīng)為超過(guò)2000萬(wàn)個(gè)域名提供了注冊(cè)、解析等服務(wù),是中國(guó)五星級(jí)域名注冊(cè)注冊(cè)商!已為超過(guò)50萬(wàn)個(gè)網(wǎng)站提供了高速穩(wěn)定的云托管服務(wù),獲評(píng)中國(guó)最受用戶喜歡云主機(jī)服務(wù)商。
西部數(shù)碼提供全方位專(zhuān)業(yè)售后支撐,域名注冊(cè)特價(jià)1元起,高速穩(wěn)定云主機(jī)45元起,更多詳情請(qǐng)瀏覽西部數(shù)碼官網(wǎng):http://ps-sw.cn/