ColdFusion Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreColdFusion Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now!
  #1  
Old July 7th, 2004, 10:20 AM
Gnosis Gnosis is offline
Sellout
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Posts: 205 Gnosis User rank is Corporal (100 - 500 Reputation Level)Gnosis User rank is Corporal (100 - 500 Reputation Level)Gnosis User rank is Corporal (100 - 500 Reputation Level)Gnosis User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 2 Days 10 h 14 m 58 sec
Reputation Power: 6
Session memory use?

Does anyone know a handy way to see how much memory a given session is using?

I'm writing an app that uses session vars. More than usual. I don't think it will be a problem, but I'm curious if there's a way to check the usage.

I use
Code:
<cfdump var=#session#>
to get a handy look at everything held...but I haven't found a "total".

Any thoughts?

Thanks,
G

Reply With Quote
  #2  
Old July 7th, 2004, 11:11 AM
kiteless kiteless is offline
Moderator
Dev Shed Expert (3500 - 3999 posts)
 
Join Date: Jun 2002
Location: Raleigh, NC
Posts: 3,627 kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 1 Week 4 Days 10 h 8 m 55 sec
Reputation Power: 53
No way to do this as far as I know. All you can really do is dump out one session (as you've done) to get an idea of how much information is stored in one session, and then multiply by how many sessions you expect to be servicing.

If you're really worried, do some load testing or watch/record the server statistics (memory use, disk i/o, etc.) while it's in use.

HTH,

Brian
__________________
Ask if you have a question, but also help answer questions that you have knowledge of! Thanks, Brian.
How to Post a Question in the Forums

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreColdFusion Development > Session memory use?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway