I got the more or less the same problem of Mono 1.2.3 I'm not running the asp server but just the console application. I need the run the program a long time, and what it really do is parse each sentence. The memory growth every sentence after process. For me I want to use the heap-shot. But I couldn't install that because of my account limited. So I call the GC.Collection inside. Every 10 sentence it gave me the a count of GC collecion time and the TotalMemory at that time. The memory output by program is around 350M every times. But when came to Top to see it have mono process of 1700M, and still growth on every process. I test the same program on Windows which just have the total memory of 512M. The GC report the TotalMemory is just the same with the task manager. Around 350M. Every thing restart after each process until it process over.
Could someone Solve that big problem? or did I do something wrong on coding? I am using the Serrilization and Stream for memory copy, but clear it every times. If it's a problem, how to make the things right? Караваев Максим wrote: > > Hello! > > Now I'm trying to launch big web-site consists of about 100.000 dynamic > web-pages (about 100kb each without images) which has about 50.000 hits > per day. > > I've got some difficulties launching this web-site on FreeBSD with Mono > 1.2.3: > > 1. Uncontrolled grow of used memory. After about hour or two mono process > grows up to 2-3Gb and goes down (visitors get "Service temporary > unavailable" error). Web-application didn't contain any big object in > memory, just 100-200 entries in Cache object with sliding expiration. > Web-pages are simple too: 5 aspx pages with several user controls. > Is the reason of this situation in non-compactiong GC in Mono or in > possible programmers errors? > > 2. Behavior of Cache object. Value of Cache.Count variable is in about 2 > times higher than number of Keys available via Cache.GetEnumerator(). Even > when I didn't add any object to Cache, Cache.Count indicates 20-30 entries > which are unavailable via enumerator. > > Could anyone explain this situations or give any advises? > > > Thanks a lot!! > > > Max Karavaev > _______________________________________________ > Mono-list maillist - [email protected] > http://lists.ximian.com/mailman/listinfo/mono-list > > -- View this message in context: http://www.nabble.com/Heavy-loaded-web-site-on-Mono-tf3782969.html#a10893582 Sent from the Mono - General mailing list archive at Nabble.com. _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
