thehigherentity Posted May 25, 2006 Share Posted May 25, 2006 I know there is a standard memory limmit of 8 in php and i know it can be changed in the ini filebut 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 sitealso 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 Link to comment https://forums.phpfreaks.com/topic/10465-how-much-memory-a-page-is-useing/ Share on other sites More sharing options...
trq Posted May 25, 2006 Share Posted May 25, 2006 [a href=\"http://php.net/memory_get_usage\" target=\"_blank\"]memory_get_usage[/a](). Link to comment https://forums.phpfreaks.com/topic/10465-how-much-memory-a-page-is-useing/#findComment-39035 Share on other sites More sharing options...
thehigherentity Posted May 25, 2006 Author Share Posted May 25, 2006 thanks, that seems to do the trick Link to comment https://forums.phpfreaks.com/topic/10465-how-much-memory-a-page-is-useing/#findComment-39059 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.