I don't but here is a guess. Add up the length of all the variables in your structure. 
Add an extra 4 bytes for
pointers. Sum this up. That is memory used for each user. Multiple by the average 
number of concurrent users to get
total used. If you have a long session time out allow for that too. Tips - session 
magic on Allaire tag gallery will
track all sessions - or just have a structure in application scope for each user and 
count there...

If you go from 4 byte ID to 32 byte GUID you are using and extra 28 bytes for each 
one. If you repeat in a structure
then multiple up.

Alt: RAM Is cheap - buy more. 1000 Mb of RAM is not unusal on a production CF server 
these days.

- Michael Smith, TeraTech, Inc http://www.teratech.com/

Grahame Armitage wrote:

> Hi,
>
> Does anybody happen to know how I can find out the memory usage of objects
> in CF
>
> The reason I'm asking is we hold a fair bit of info in a structure and are
> wanting to change the IDs from int's into UUID's and are worried about how
> much this will affect the memory usage on the server.
>
> If anyone could help me, or point me to somewhere that tells you, I'd be
> thankful.
>
> Cheers,
>
> Grahame
>
> This message is intended only for the use of the person(s) ("the intended 
>recipient(s)") to whom it is addressed.
>
> It may contain information which is privileged and confidential within the meaning 
>of the applicable law.
> If you are not the intended recipient, please contact the sender as soon as possible.
> The views expressed in this communication may not necessarily be the views held by 
>Live Information Systems Limited.
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to