Coder Social home page Coder Social logo

Comments (8)

xalanq avatar xalanq commented on June 9, 2024 2

Done~ I'll release it later, because the GIF should be updated.

from cf-tool.

xalanq avatar xalanq commented on June 9, 2024 1

I found getting memory usage in windows is a little bit hard :(

from cf-tool.

VincentXWD avatar VincentXWD commented on June 9, 2024 1

One possible way to implement this feature is to use ulimit: https://ss64.com/bash/ulimit.html
You can set the memory limit crawled by your crawler and do the corresponding limit before running your program.
This tool can be used on Linux and OSX. As for a equivalent on Windows, check this: https://serverfault.com/questions/133122/ulimit-for-windows

from cf-tool.

xalanq avatar xalanq commented on June 9, 2024

Show memory is OK. But check stuff is not. Because memory limit is fetched by using network, it causes lag.

from cf-tool.

GaurangTandon avatar GaurangTandon commented on June 9, 2024

Sorry, I do not understand how fetching memory limit causes network lag? It currently does fetch the test cases for the problem. So, fetching the memory limit value should be quite a trivial addition to that, shouldn't it?

from cf-tool.

xalanq avatar xalanq commented on June 9, 2024

Current version doesn't store any contest information. So to get the contest info must be fetched online. Yeah, the contest info should be stored in local, and there are many things to consider. But you need to wait some time (I'm busy)~

from cf-tool.

GaurangTandon avatar GaurangTandon commented on June 9, 2024

But you need to wait some time

Sure, take your time :)

from cf-tool.

xalanq avatar xalanq commented on June 9, 2024

I'm trying https://github.com/shirou/gopsutil
It seems working.

from cf-tool.

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.