Coder Social home page Coder Social logo

MemoryError about plutus HOT 27 CLOSED

EggEngineer avatar EggEngineer commented on July 23, 2024
MemoryError

from plutus.

Comments (27)

Isaacdelly avatar Isaacdelly commented on July 23, 2024 2

@MisterTeo your comments are irrelevant, thats not the issue.

from plutus.

EggEngineer avatar EggEngineer commented on July 23, 2024 1

Deleted database files 13-22, and I also closed all other unnecessary background programs using Task Manager.

from plutus.

EggEngineer avatar EggEngineer commented on July 23, 2024 1

Try closing your background apps, they might be taking up more of your RAM than you think.

from plutus.

EggEngineer avatar EggEngineer commented on July 23, 2024

I also have over 3 GB RAM available, so why do I still get the error?

from plutus.

Simkas45 avatar Simkas45 commented on July 23, 2024

My 8 GB RAM after update not started!
MemoryError
reading database: 23/23 Traceback (most recent call last):
File "plutus.py", line 109, in
else: database[3] = database[3] | pickle.load(file)

from plutus.

Simkas45 avatar Simkas45 commented on July 23, 2024

i delete database files,
C:\Plutus-master>python plutus.py
reading database: 6/6 DONE
Traceback (most recent call last):
File "plutus.py", line 116, in
multiprocessing.Process(target = main, args = (database, )).start()
File "C:\Users\Admin\AppData\Local\Programs\Python\Python37-32\lib\multiprocessing\process.py", line 112, in start
self._popen = self._Popen(self)
File "C:\Users\Admin\AppData\Local\Programs\Python\Python37-32\lib\multiprocessing\context.py", line 223, in _Popen
return _default_context.get_context().Process._Popen(process_obj)
File "C:\Users\Admin\AppData\Local\Programs\Python\Python37-32\lib\multiprocessing\context.py", line 322, in _Popen
return Popen(process_obj)
File "C:\Users\Admin\AppData\Local\Programs\Python\Python37-32\lib\multiprocessing\popen_spawn_win32.py", line 65, in init
reduction.dump(process_obj, to_child)
File "C:\Users\Admin\AppData\Local\Programs\Python\Python37-32\lib\multiprocessing\reduction.py", line 60, in dump
ForkingPickler(file, protocol).dump(obj)
MemoryError
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\Admin\AppData\Local\Programs\Python\Python37-32\lib\multiprocessing\spawn.py", line 105, in spawn_main
exitcode = _main(fd)
File "C:\Users\Admin\AppData\Local\Programs\Python\Python37-32\lib\multiprocessing\spawn.py", line 115, in _main
self = reduction.pickle.load(from_parent)
EOFError: Ran out of input

C:\Plutus-master>

from plutus.

Simkas45 avatar Simkas45 commented on July 23, 2024

i restore files database error:
C:\Plutus-master>python plutus.py
reading database: 22/23 Traceback (most recent call last):
File "plutus.py", line 109, in
else: database[3] = database[3] | pickle.load(file)
MemoryError

My OS windows 10 x64 python 3.7.2x64 RAM 8GB

from plutus.

MisterTeo avatar MisterTeo commented on July 23, 2024

Yeah. Try python3 plutus.py. It will work. Is using python 3 not 2. Try with all database. Clone it again and try with python3.

from plutus.

Simkas45 avatar Simkas45 commented on July 23, 2024

C:\Plutus-master>python --version
Python 3.7.0

C:\Plutus-master>

from plutus.

Simkas45 avatar Simkas45 commented on July 23, 2024

my windows path = python 3 version

from plutus.

EggEngineer avatar EggEngineer commented on July 23, 2024

Nevermind, I fixed the memory error. But it's giving me a SyntaxError now.

from plutus.

Simkas45 avatar Simkas45 commented on July 23, 2024

Nevermind, I fixed the memory error. But it's giving me a SyntaxError now.

how did you fix the memory error?

from plutus.

Simkas45 avatar Simkas45 commented on July 23, 2024

I did not edit the plutus file. I did not change anything, the paging file is 32 GB in the system 8 GB of RAM.
MemoryError

from plutus.

EggEngineer avatar EggEngineer commented on July 23, 2024

Okay, so I'm no longer getting the SyntaxError and I'm back to square one with the MemoryError. I've closed all background apps that won't mess up my computer, what else could be wrong?
@Isaacdelly

from plutus.

nubcahi avatar nubcahi commented on July 23, 2024

I have 8 GB of memory and got the memory error. I have two laptops so I run half the database files on laptop 1 and the other half on laptop 2. It's not optimal but the program does work.

from plutus.

EggEngineer avatar EggEngineer commented on July 23, 2024

@nubcahi But I have only one laptop, so how would I be able to do that?

from plutus.

Isaacdelly avatar Isaacdelly commented on July 23, 2024

@EggEngineer @Simkas45 @nubcahi

I'm going to generate memory profiles for this program to see the actual RAM that is utilizes. Right now all you can really do about the MemoryError is delete some of that database files because your machine doesn't have enough memory to load it into virtual memory. The issue is I don't know yet how much memory this program actually uses.

In previous versions it used 3 GB of RAM, but I recently updated the program in a big way and it looks like the memory grew a lot. I think there can be a way to avoid it from giving an error. I'll let you guys know when if I find a fix.

@EggEngineer what SyntaxError are you getting?

from plutus.

nubcahi avatar nubcahi commented on July 23, 2024

Thanks @Isaacdelly

from plutus.

EggEngineer avatar EggEngineer commented on July 23, 2024

@Isaacdelly The SyntaxError I was getting was the one in a previously closed issue. I solved that problem, it's this one that is getting me.

from plutus.

Simkas45 avatar Simkas45 commented on July 23, 2024

123123
My games notebook install python 3.6x64 and RAM 16GB win 10 x64 worked!
my small computer not worked 8 GB RAM

from plutus.

Simkas45 avatar Simkas45 commented on July 23, 2024

It turned out to fix the RAM error.

  1. Completely deleted Python through the control panel.
  2. Restart the computer.
  3. Installed the version from the official website 3.6.7x64
  4. Rebooted the computer.
  5. Run without error RAM.
    Windows x64 ram 8gb python version 3.6.7 x 64

from plutus.

Isaacdelly avatar Isaacdelly commented on July 23, 2024

@Simkas45 I'm also seeing a lot of solutions online that the 64-bit version python can reserve more RAM and possibly prevent a MemoryError. Is it possible that you had the 32-bit version before?

from plutus.

Simkas45 avatar Simkas45 commented on July 23, 2024

No, I used to have x64 versions I wrote about it above

from plutus.

EggEngineer avatar EggEngineer commented on July 23, 2024

@Simkas45 I'm also seeing a lot of solutions online that the 64-bit version python can reserve more RAM and possibly prevent a MemoryError. Is it possible that you had the 32-bit version before?

I have the 32 bit, do you know where the 64 bit can be downloaded from? That might be my issue!

from plutus.

Simkas45 avatar Simkas45 commented on July 23, 2024

@Simkas45 I'm also seeing a lot of solutions online that the 64-bit version python can reserve more RAM and possibly prevent a MemoryError. Is it possible that you had the 32-bit version before?

I have the 32 bit, do you know where the 64 bit can be downloaded from? That might be my issue!

https://www.python.org/downloads/release/python-367/

from plutus.

EggEngineer avatar EggEngineer commented on July 23, 2024

Thanks, I seem to be getting a similar issue to Issue 61, I'll see if it comes back, and if it does (I hope not), I will reopen this issue.

from plutus.

aha903 avatar aha903 commented on July 23, 2024

Pretty sure that virtual memory is my problem
Set the page file as system managed on 2 different drives and it worked like a charm

👌🏻😁

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.