GithubHelp home page GithubHelp logo

MemoryError about snownlp HOT 3 CLOSED

zh-h avatar zh-h commented on June 10, 2024
MemoryError

from snownlp.

Comments (3)

isnowfy avatar isnowfy commented on June 10, 2024

分词应该不会占用太大,即使按你说的改成readlines最后解析完在内存中的model也会比较大,你可以看看是不是其他的应用已经占用了大部分的内存

from snownlp.

zh-h avatar zh-h commented on June 10, 2024

@isnowfy 我在本地上试了一下,占用超过1GB内存。

from snownlp.

isnowfy avatar isnowfy commented on June 10, 2024

因为包含很多个模块,若干个模块加起来自然就大了,如果只需要单独的模块可以把其他的注释掉

from snownlp.

Related Issues (20)

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.