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

Running out of memory #43

Open
peter-dfm opened this issue May 10, 2024 · 0 comments
Open

Running out of memory #43

peter-dfm opened this issue May 10, 2024 · 0 comments

Comments

@peter-dfm
Copy link

Hi Charis,

I'm having some troubles running the program. I have it running locally where it runs fine. If I use the '--copy_original_bands' flag it runs out of memory, which I somewhat expect as I have 16Gb of RAM. If I exclude the flag it works.

However, when I run it on a Windows server it always runs out of memory, '--copy_original_bands' flag or not. It is in a VM and has 24Gb of RAM with nothing else running and doesn't finish the process.

numpy.core._exceptions._ArrayMemoryError: Unable to allocate 3.59 GiB for an array with shape (9801, 6, 128, 128) and data type float32

I find it odd that it works on my PC with less RAM but when given more it doesn't work.

Hoping you can give me some ideas as to why this is happening or a potential solutions.

Regards,

Peter

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

1 participant