Thanks Michael,
I'll give it a go and add 'em up and see what I get. When I was using 4D on
the Mac there was a overhead for using variables of different kinds and I
was wondering whether there was a similar thing in CF.
As for the 1000Mb of memory, well I'm sure the client in question can afford
it ;-)
Cheers,
Grahame
-----Original Message-----
From: Michael Smith [mailto:[EMAIL PROTECTED]]
Sent: 01 March 2001 19:31
To: CF-Community
Subject: Re: Memory usage of CF objects.
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