Coder Social home page Coder Social logo

Comments (9)

akatasonov avatar akatasonov commented on July 23, 2024

@jevans84iwa a couple of bugs that I have fixed myself:

  • the reading of the database starts from 0 so it never reaches 23. 22/23 means it has read the entire database. I have fixed it by using c+1 vs c in line 104 (where it says reading database)
  • the script never uses more than 1 process, which is far from perfect. I had to rewrite the part that maps the "main" function to the pool of processes to make it work. I might submit a pull request if I have time

from plutus.

Isaacdelly avatar Isaacdelly commented on July 23, 2024

@akatasonov The string reading database x/23 should get overwritten by the expected output when it reaches 23/23, so i don't think incrementing c really matters. You're right though, I should increment it because it doesn't make sense.

@MisterTeo The program uses ~3.2 GB of ram, but i'm not sure that's the issue here.

I'll try testing it out some more and see what can cause this.

from plutus.

Isaacdelly avatar Isaacdelly commented on July 23, 2024

@jevans84iwa I updated the project. Can you download it again and let me know me what gets printed?

from plutus.

EggEngineer avatar EggEngineer commented on July 23, 2024

@Isaacdelly Do you know if MemoryError is related to the RAM being too small in size for Plutus? Or is there some other way to fix this?

from plutus.

aqui1991 avatar aqui1991 commented on July 23, 2024

reading database: 22/23 Traceback (most recent call last):
File "plutus.py", line 109, in
else: database[3] = database[3] | pickle.load(file)
MemoryError

from plutus.

g00dwin555 avatar g00dwin555 commented on July 23, 2024

how much RAM do you have in the computer? If less 4 GB, the database files will not be downloaded.

from plutus.

aqui1991 avatar aqui1991 commented on July 23, 2024

i have 64gb ram i dont think its about ram ..

from plutus.

audemarsvonslack avatar audemarsvonslack commented on July 23, 2024

Did you tried to edit/open pickle files? try re-download the db.

from plutus.

Isaacdelly avatar Isaacdelly commented on July 23, 2024

I'm making another update soon that will hopefully minimize the memory required by this program. You should except to see the update within the next week.

from plutus.

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.