leak -
if you have a lot of large (in my experience, 1024x map pngs)
snapshots, and use different urls for each run, then each is loaded
into heap and the whole thing gets enormous.
--
Paul Reavis [EMAIL PROTECTED]
Design Lead
Partner Software, Inc.
class SVGEar extends SVGDocumentLoaderAdapter {
public boolean done = false;
public void documentLoadingCompleted(SVGDocumentLoaderEvent
evt) {
done = true;
}
}
I was adding that SVGEar as a loaderlistener to the component but it
never got an eve
here some way I can run some
basic sanity tests at least? I would like to do some memory audits (we
own a seat of OptimizeIt) but need to be able to run some real-life
examples.
Thanks...
--
Paul Reavis [EMAIL PROTECTED]
Design Lead
Partne
n oopsie) {
SystemLog.singleton().error(oopsie);
SystemLog.singleton().enter("Probably demo, ignoring.");
}
catch (Exception oopsie) {
SystemLog.singleton().error(oopsie);
SystemLog.singleton().enter("Probably demo, ign
ar slower than those with good
ones even at the same memory and cpu speed.
--
Paul Reavis [EMAIL PROTECTED]
Design Lead
Partner Software, Inc.http://www.partnersoft.com
-
l memory usage should be no big
deal (it's a hash of image pointer to integer ID).
I'll just modify PDFGraphics2D directly to use the underlying
PDFStream. I think this is fine for all cases.
Should I break it up into several patches?
-> tempfile buffer
and hundreds of megabytes of heap to render times of less than
10 seconds and less than 64MB of heap (the default max heap size).
--
Paul Reavis [EMAIL PROTECTED]
Design Lead
Partner Software, Inc.http://www.partnersoft.com
. But that adds complexity of
course.
--
Paul Reavis [EMAIL PROTECTED]
Design Lead
Partner Software, Inc.http://www.partnersoft.com
-
To unsubscribe, e-mail: [EMAIL
before it breaks,
and who knows how many copies of those bytes get passed around...
--
Paul Reavis [EMAIL PROTECTED]
Design Lead
Partner Software, Inc.http://www.partn
easy to do without
banging your own postscript - add to that the ability to stick these
plots on nicely-formatted reports with all the power of FO too and it
makes my life a lot easier.
--
Paul Reavis [EMAIL PROTECTED]
Design Le
Katiyar, Bhawana ([EMAIL PROTECTED]) wrote To [EMAIL PROTECTED] on
Thu, Apr 25, 2002 at 12:46:12PM -0400:
> My protocol too renders the image directly at pdf generation time.
> Just that it doesn't use FOP to generate the image.
Ah! Sorry. Yes, I'd like to see that. Than
> I use it as :
>
>
>
> thought it may help you, if you are not looking at using FopImage only.
Actually, there is no bytestream - I am rendering the image directly at pdf generation
time.
--
Paul Reavis [EMAIL PROTECTED]
Desi
currentXPosition,
currentYPosition);
graphics.setGraphicContext(new
org.apache.batik.ext.awt.g2d.GraphicContext());
image.paint(graphics);
// more mystery
currentStream.add(graphic
which the graphic is to be written to
the PDF, allow me to use standard Java graphics commands to write it.
One area I got totally lost in was in how to register this
implementation with the FopImageFactory or whatever so that it would
get called correctly. Any help on this would be appr
14 matches
Mail list logo