bluerhinos / phpMQTT

a simple php class to connect/publish/subscribe to a MQTT broker
Other
770 stars 461 forks source link

well ,the demo subscribe memory leak #82

Open jlt870469752 opened 5 years ago

jlt870469752 commented 5 years ago

in linux, the php version is 7.1.3. The function memory_get_usage() can exactly show the increase of the memory。And i read the class of phpmqtt ,there is no reason can explain it。 some days,I run the same script in mac os,the memory is stable。 may be the configuration of php will cause this problem?