lkeme / BiliHelper

(Bilibili)B 站自动领瓜子、直播助手、直播挂机脚本、主站助手 - PHP 版

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

直接用PHP运行后出现错误并结束程序

xxhh283 opened this issue · comments

使用终端 问题还是这样…
php 7.0.23
内存改到1G

[16-Mar-2018 00:29:48 Asia/Shanghai] PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 2105344016 bytes) in D:\wamp64\www\BiliHelper-master\includes\Traits\socketHelper.php on line 152

[16-Mar-2018 01:10:31 Asia/Shanghai] PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 1818190712 bytes) in D:\wamp64\www\BiliHelper-master\includes\Traits\socketHelper.php on line 152

commented

我觉得在win下使用这个脚本不太妙....

好的,还是麻烦你啦

commented

确实有这个问题,我已经出现一次了,我还在排查,实在找不到我就重构一次

@lkeme virtual虚拟机 ubuntu系统 运行中,暂时没出现问题

commented

你这样讲作者还怎么重构(

commented

@xxhh283 定位修复了一下,不知道完全解决没,如果有时间,请麻烦用你的win机器测试一下,谢谢

@lkeme 用虚拟机运行后就把win的环境卸载了…最近比较忙在写论文没时间测试说声抱歉,然后要是问有哪些房间弹幕比较稳定的话,应该是娱乐类直播间的映评馆和音乐台,找前几个24小时播放的就好。

commented

@xxhh283 那就算了吧,我挂了3个号在测试,暂时还没出现过问题,稳定直播间的话,最开始的时候我就是用的固定的房间,音悦台也用过