Hello, SZ! I presume that when you set the cache limit to 1 Gb your application reaches the maximum allowed RAM size for windows application, i.e. 4Gb: 2Gb for application itself, and 2Gb for its system resources. Either of these two memory parts could be exhausted.
You can change the 2Gb:2Gb memory distribution to 3Gb:1Gb by pathching executable header, but the overall limit of 4Gb will remain. The workarounds are using PAE API or moving to 64 bit system. Best wishes, Stanislav Korotky. ----- Original Message ----- From: "Fastream Technologies" <[EMAIL PROTECTED]> To: "ICS support mailing" <[email protected]> Sent: Wednesday, June 25, 2008 2:46 PM Subject: [twsocket] Very interesting issue with memory usage in ICS reverseproxy > Hello, > > My code is running at a 250Mbps customer site with two 1Gbps ethernet > adapters. It has a memory cache with TMemoryStream's. When I set cache size > to 100MB, it works perfectly with RAM usage at 300MB. When I set it to 1GB, > the process RAM usage in task manager continuously grows and it stops > responding at the point of 2GB! (The 32-bit machine has 4GB RAM). I am using > the standard FastMM in BCB2007. What would you suggest? > > Best Regards, > > SZ > -- > To unsubscribe or change your settings for TWSocket mailing list > please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket > Visit our website at http://www.overbyte.be > -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
