phdphd Posted February 10, 2019 Share Posted February 10, 2019 Hi All, When I put echo memory_get_usage(); at the very beginning of a php file I get 51207808. Is this normal while there is not much processing to do ? This happens even for very small php files that only display html syntax. Thanks! Quote Link to comment https://forums.phpfreaks.com/topic/308303-is-50mb-memory-consumption-normal/ Share on other sites More sharing options...
gw1500se Posted February 10, 2019 Share Posted February 10, 2019 It depends on your script. Even a small script can create large arrays, etc. and consume lots of memory. Quote Link to comment https://forums.phpfreaks.com/topic/308303-is-50mb-memory-consumption-normal/#findComment-1564359 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.