Bug 936 : memory issue when using transparent strokes
Last modified: 2008-10-01 08:16




Status:
RESOLVED
Resolution:
INVALID -
Priority:
P2
Severity:
normal

 

Reporter:
michael99
Assigned To:
fry

Attachment Type Created Size Actions

Description:   Opened: 2008-10-01 08:05
version 135, mac osx -10.5.4

drawing with transparent strokes causes the application's memory usage to increase
continuously, until it crashes after a few minutes.

void setup(){
size (800,800);
}

void draw(){
background(0);
fill(255,0,255);
stroke(255,127,0,127);
rect(20,20,80,80);
}
Additional Comment #1 From fry 2008-10-01 08:16
If that's the case, then it's an Apple Java bug, please file it at
bugreporter.apple.com. The issue is that the following code:

int strokeColor = 0x80FF800;
Color c = new Color(strokeColor, true);

...is not garbage collecting correctly (when used from a thread that's
running at 60 frames per second).