Search found 7 matches

by bdschubert
Mon Jul 21, 2014 10:47 pm
Forum: FXGraphics2D
Topic: Memory Leak
Replies: 7
Views: 43757

Re: Memory Leak

10MB! That's really encouraging. I wonder why my memory consumption is higher. I was testing with the libs from the Git distribution (jfreechart 1.0.17). Are you using the same in your tests?
by bdschubert
Thu Jul 17, 2014 3:19 pm
Forum: FXGraphics2D
Topic: Memory Leak
Replies: 7
Views: 43757

Re: Memory Leak

No change with JDK8 u11 on Windows8 64bit. :( For reference, I'm using the most recent code from https://github.com/jfree/fxgraphics2d . Here's some screenshots of the Profiler with and without using clearRect : 1.5GB Memory usage without clearRect jfreefx_demo.png 250MB Memory usage with clearRect ...
by bdschubert
Thu Jul 17, 2014 2:09 pm
Forum: FXGraphics2D
Topic: Memory Leak
Replies: 7
Views: 43757

Re: Memory Leak

I'm using JDK8 1.8.0; Windows8 64bit.
I'll try JDK8_u11 and report back.
by bdschubert
Wed Jul 16, 2014 8:29 pm
Forum: FXGraphics2D
Topic: Memory Leak
Replies: 7
Views: 43757

Re: Memory Leak

This is my first foray into JavaFX, so I may be ignorant on how things work, or are supposed to work, but regardless, here's what I've discovered thus far: It appears that when a chart makes a graphics call into FXGraphics2D, the GraphicsContext (gc) member appends data to its GrowableDataBuffer() C...
by bdschubert
Wed Jul 16, 2014 4:05 pm
Forum: FXGraphics2D
Topic: Memory Leak
Replies: 7
Views: 43757

Memory Leak

I'm experiencing a severe memory leak whenever I (re)draw the FXGraphics2D based ChartCanvas . This behavior can be replicated in the FXGraphics2DDemo1 by running it within a profiler ( NetBeans 8 ) and resizing the chart with the mouse. Or, you can add the following test code to the demo's start me...
by bdschubert
Wed May 21, 2014 5:03 pm
Forum: FXGraphics2D
Topic: DialPlot clipping issues
Replies: 2
Views: 27654

Re: DialPlot clipping issues

More info: if I set FXGraphics2D.setClippingDisabled(false), then the background and needle are clipped :) , but the ArcDialFrame is not drawn (clipped?).
by bdschubert
Wed May 21, 2014 4:38 pm
Forum: FXGraphics2D
Topic: DialPlot clipping issues
Replies: 2
Views: 27654

DialPlot clipping issues

In a DialPlot (like in Dial Demo 4) with the new FXGraphics2D and ChartCanvas, the DialPointer.Pin() and DialBackground(GradientPaint) layers are not clipped to the DialFrame. The DialPointer originates from the edge of the Canvas and the DialBackground fills the entire Canvas.
-- Bruce