Jump to content

Memory usage from PHP comments


dlublink

Recommended Posts

Hello,

 

So I am trying to reduce my memory footprint to the lowest possible value without sacrificing functionality.

 

I noticed that if I write a comment that is 2kb long, it costs me 2kb more memory to run the script.

 

How can I get PHP to free the memory taken up by comments? It seems like it would be a real pain in the butt to have to run php -w on all my source files each time I update my server.

 

Any ideas?

 

Thanks.

 

David

Link to comment
https://forums.phpfreaks.com/topic/226482-memory-usage-from-php-comments/
Share on other sites

Archived

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

×
×
  • Create New...

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.