Bug 965 : Memory bug
Last modified: 2008-10-19 14:05



Assigned To:

Attachment Type Created Size Actions

Description:   Opened: 2008-10-19 09:41
Hi everybody, I'm totally new to Processing but come from vvvv. I'm tryng
to have fun with Radiohead's LYDAR video and I have a question/bug: anytime
I try to set maximum available memory higher than 1600MB, the sketch
refuses to start and editor returns that it "Could not create the Java
virtual machine" whereas I have 4GB RAM and they work well with vvvv.

So what is the maximum available memory in Processing?

Thanks by advance,
Additional Comment #1 From fry 2008-10-19 13:16
This is discussed in detail here:
Which is available at Help > Troubleshooting.

You should probably also upgrade the release of Processing that you're
using. More recent releases print this message to the console.
Additional Comment #2 From ArsRobota 2008-10-19 13:41
Hi Ben, thanx for replying.
I use the latest version of processing. I've read the discussion you
pointed and it looks like Processing consider only 1GB of memory (since I
can allocate up to 1,6GB)...
Additional Comment #3 From fry 2008-10-19 13:47
No, it's just that you're probably on Windows, which cannot address more
than 2GB properly, so with OS and JVM overhead, the total available is in
the neighborhood of 1.5 GB. It depends on the OS, the version of Java, etc,
so there isn't a way to provide an actual maximum. You just have to be more
clever about dealing with memory.
Additional Comment #4 From ArsRobota 2008-10-19 14:05
OK, thank you very much