Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python OutOfMemoryError (Java Heap Space)? #142

Open
lexf0704 opened this issue Sep 23, 2022 · 1 comment
Open

Python OutOfMemoryError (Java Heap Space)? #142

lexf0704 opened this issue Sep 23, 2022 · 1 comment

Comments

@lexf0704
Copy link

To be honest, I have no idea what this means. I was trying a new function for my homework and got this message. I have a windows laptop.
Here's my code and the error at the bottom. Please let me know if you know how to fix this! I'm a biochemistry major I have no idea how this works.

def test6 (picture):
for p in getPixels(picture):
red = getRed(p)
green = getGreen(p)
blue = getBlue(p)
color = makeColor(blue, red, green)
setColor(p,color)

fileName=pickAFile()
myPicture=makePicture(fileName)
explore(myPicture)

======= Loading Program =======

test6(myPicture)
The error was: Java heap space
A Python OutOfMemoryError happened while running your program, so it stopped.
Please check line 2 of C:\Users\lxf07\OneDrive\Python\test6.py

@mjguzdial
Copy link
Contributor

mjguzdial commented Sep 23, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants