Jump to content

Archived

This topic is now archived and is closed to further replies.

thehigherentity

how much memory a page is useing?

Recommended Posts

I know there is a standard memory limmit of 8 in php and i know it can be changed in the ini file

but is there a way to see how much memory a page is useing?

I am loading up a lot of info from a text file and just to see how much i could load i loadedup the file with information until i got the memory error. but it would be nice to have some way of knowing how close you are to the limmit when making a site

also if this is posible i would like to make somthing that stops it from readin the file befor it hits the limmit.

has anyone every done this and how did they go about it?

sorry some how posted this two time please feel free to remove one of them

Share this post


Link to post
Share on other sites
[a href=\"http://php.net/memory_get_usage\" target=\"_blank\"]memory_get_usage[/a]().

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.