[pLog-svn] memory usage / metrics
plogworld at jon.limedaley.com
Wed Jul 26 11:33:55 GMT 2006
I don't think our big database test had that many comments on one
post. The problem is probably that the comments aren't paged (they aren't
in 1.1 either, are they?)
It is going to be a big html document no matter how you look at
it, without paging. I am sure there are optimizations to be made, but
even if we weren't going to have paging, we probably can't grab all the
data from the database in one chunk, we would have to grab it in bits or
something, and then write it out? Sounds kind of complicated.
On Wed, 26 Jul 2006, Alexander Kaiser wrote:
> btw, has anyone ever saw a lifetype installation blog with 2000+ comments, i
> mena one article?
> with 32mb memory cache you get a blank site and on the summary a "memory
> exhausted bla..." error appears
> On 7/26/06, Jon Daley <plogworld at jon.limedaley.com> wrote:
>> Ah, it (memory_get_peak_usage()) is in 5.2.
>> On Tue, 25 Jul 2006, Jon Daley wrote:
>> > I was just playing around with that large database installation,
>> > discovered that the metrics are not correctly reporting the memory
>> > What is written to the file is the amount of memory currently
>> > used by the php script, not the peak amount that was ever used during
>> > script's execution.
>> > get_peak_memory_usage() would be better, but apparently it is not
>> > available yet.
>> > --
>> > Jon Daley
>> > http://jon.limedaley.com/
>> > If you have any trouble sounding condescending,
>> > find a Unix user to show you how it's done
>> > -- Scott Adams
>> > _______________________________________________
>> > pLog-svn mailing list
>> > pLog-svn at devel.lifetype.net
>> > http://devel.lifetype.net/mailman/listinfo/plog-svn
>> Jon Daley
>> When I was a student I remember seeing such things as "pi = 1".
>> -- Professor Tygar
>> pLog-svn mailing list
>> pLog-svn at devel.lifetype.net
8:30 classes aren't bad, especially in the morning.
More information about the pLog-svn