Bug 1443 : OutOfMemoryError with println() missing a quote
Last modified: 2010-01-24 14:10




Status:
RESOLVED
Resolution:
DUPLICATE of bug 763
Priority:
P2
Severity:
normal

 

Reporter:
peterkirn
Assigned To:
fry

Attachment Type Created Size Actions

Description:   Opened: 2010-01-24 10:32
Calling mouseButton appears to cause a memory leak, returning the exception:

"Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap
space."

Testing on JVM 1.6 r18 on Windows 7. I have to verify across OS/JDK.

Processing 1.0.9

Sample code:
void mousePressed() {
if(mouseButton == RIGHT) {
println(Right.");
}
}
Additional Comment #1 From fry 2010-01-24 10:35
that code as-is will cause an OutOfMemoryError when you hit run because of
a parser problem because you're missing a quote inside the println(). is
that what you mean?
Additional Comment #2 From peterkirn 2010-01-24 10:50
Oops, yes. I entirely missed the obvious. Is there a separate bug open for the parser
issue? (Please feel free to delete this bug. Mea culpa.)
Additional Comment #3 From fry 2010-01-24 14:10
yep, no problem

*** This bug has been marked as a duplicate of 763 ***