Coder Social home page Coder Social logo

Out of memory about node-segment HOT 4 OPEN

xianjimli avatar xianjimli commented on June 3, 2024
Out of memory

from node-segment.

Comments (4)

bluelovers avatar bluelovers commented on June 3, 2024

試試
https://github.com/bluelovers/node-segment

from node-segment.

xianjimli avatar xianjimli commented on June 3, 2024

試試
https://github.com/bluelovers/node-segment

好的,谢谢

from node-segment.

darkty2009 avatar darkty2009 commented on June 3, 2024

测试用例:

// 载入模块
var Segment = require('segment');
// 创建实例
var segment = new Segment();
// 使用默认的识别模块及字典,载入字典文件需要1秒,仅初始化时执行一次即可
segment.useDefault();
 
// 开始分词
console.log(segment.doSegment('一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十'));

然后就内存泄漏了

from node-segment.

jaydenhpj avatar jaydenhpj commented on June 3, 2024

服务返回504
image

https://segment-api-bluelovers.vercel.app/conv?input=%E6%88%91%E7%9A%84%E5%98%B4%E6%AF%9B%E6%A6%82%E4%B8%83%E5%85%AB%E5%8D%81%E4%BA%8C%E5%8D%81%E5%9B%9B%E5%8D%81%E4%B8%83%E5%8D%81%E4%B9%9D%E4%BA%8C%E5%8D%81%E4%B8%80%E4%BA%8C%E5%8D%81%E5%9B%9B%E4%BA%8C%E5%8D%81%E4%BA%94%E4%B8%89%E5%8D%81%E4%BA%8C%E4%B8%89%E5%8D%81%E5%85%AD%E4%B8%89%E5%8D%81%E4%B8%83%E4%B8%89%E5%8D%81%E5%85%AB%E4%B8%89%E5%8D%81%E4%B9%9D%E9%A9%AC%E5%85%8B%E6%80%9D%E5%8D%81%E4%B8%80%E5%8D%81%E4%B8%89%E5%8D%81%E5%9B%9B%E5%8D%81%E4%B8%83%E5%8D%81%E4%B9%9D%E4%BA%8C%E5%8D%81%E5%85%AB%E4%BA%8C%E5%8D%81%E4%B9%9D%E4%B8%89%E5%8D%81%E4%B8%80%E4%B8%89%E5%8D%81%E4%BA%8C%E5%95%A5%E7%8E%A9%E6%84%8F

from node-segment.

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.