carykh/yoyleCityWords

OutOfMemoryError

TsavyPrince opened this issue · 3 comments

An OutOfMemoryError means that your code is either using up too much memory
because of a bug (e.g. creating an array that's too large, or unintentionally
loading thousands of images), or that your sketch may need more memory to run.
If your sketch uses a lot of memory (for instance if it loads a lot of data files)
you can increase the memory available to your sketch using the Preferences window.

This happened

Quick fix, when in editor mode, go to file/preferences. check increase maximum available memory and change the number to as high as you want. This error is a side effect of doing things like this in processing and not some rendering software.

Also, you can close this if you don't have any problems.

I know this issue is over 3 years old, but when I set the amount of memory to the highest it will go (1614) it says I need to allow more memory. But when I increase it by 1 (1615) it says it can't run and that I need to decrease the memory.