Giter VIP home page Giter VIP logo

meme-generator-contrib's People

Contributors

balh55y avatar github-actions[bot] avatar jcjrobert avatar meetwq avatar plasma4004 avatar pre-commit-ci[bot] avatar qiuyebai-1226 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

meme-generator-contrib's Issues

添加第三方库的问题

萌新想问一下,改写配置文件后需要重启docker容器吗?
我重启之后发现配置文件被重置了,
不重启发请求提示not found

[bug] 表情 fleshlight 有内存泄漏,一次 32 MB

在使用 nonebot-plugin-memes 的时候发现内存膨胀比较快,经排查发现是表情“飞机杯”导致的,调用一次将增加32MB的内存占用。
用 memray attach 发现是在生成飞机杯表情时有个 numpy 乘法留下了 32MB 内存没释放。

因为我白天只能用手机 termux 看看服务器上的日志,没办法详细分析。晚上有空再研究一下这个问题。如果作者你有时间的话可以帮我解决一下吗(笑

下面这个是 memray 在调用两次飞机杯表情包时抓取到的记录,但是因为服务器上是以 attach 模式抓取的,没有更详细的调用栈。

┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┓
┃ Location                                                                                            ┃        Total Memory ┃     Total Memory % ┃       <Own Memory> ┃       Own Memory % ┃   Allocation Count ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━┩
│ __mul__ at /root/qqbot/heimiao/__pypackages__/3.10/lib/numpy/matrixlib/defmatrix.py                 │            32.000MB │             49.38% │           32.000MB │             49.38% │                  2 │
│ convert at /root/qqbot/heimiao/__pypackages__/3.10/lib/PIL/Image.py                                 │             3.371KB │              0.01% │            3.371KB │              0.01% │                  2 │
└─────────────────────────────────────────────────────────────────────────────────────────────────────┴─────────────────────┴────────────────────┴────────────────────┴────────────────────┴────────────────────┘

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.