Hey Rob,

I was just reading your N-Tier article this morning. Nice job!

> Lenb() would be my best guesstimate also.  Since it will store it in
> Unicode (dual byte code), it would make sense.

Thanks, that's what I thought.

> Im wondering...why do you need to measure memory?  Scalability planning?
> Wouldn't such things as session useage, Ado useage, etc. make the
> biggest impact and such a significant different the APP variables would
> almost be negligable???

Well I'm considering an in-memory database solution as outlined here: 
http://www.15seconds.com/issue/010409.htm
http://www.15seconds.com/issue/010410.htm

The idea is to store a ton of data in the application object as a
free-threaded MSXML DOMDocument and execute search queries against it
using XPath. The author gives benchmark results that show it outperforming
standard ADO / SQL Server calls by a long shot. He shows some data on the
amount of memory used, but doesn't tell how he measured it.

I know I can look at PerfMon or Task Manager before and after caching the
data, but using something like LenB() seemed like a more accurate way to
measure it.

Kevin Collins

---
You are currently subscribed to activeserverpages as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to