We are experiencing a strange problem with GD, since updating our
machines to Windows 2000 and the newest available perl build and
module versions.

We have a script which produces a few hundred graph images using
GD::Graph, and a few hundred related images using GD directly. Under
our old ActivePerl 522 installation, this ran problem free. (Sorry, I
can't tell you what version of GD we were using. It would have been
the current PPD distribution for ActivePerl 522.)

What we are seeing now, is that after X graphs are produced, the
script dies. The problem seems to be related to truetype font support
in GD. If I use TTF fonts for everything, the script dies after
producing only about 20 images. If I use the built-in GD fonts for
axis labels and so on, and only use TTF for a single text annotation,
I get about 75% through the batch before it falls over. From the
experiments I've tried, there seems to be a certain fixed number of
times I can make use of TTF functions.

Strangely, the error the script dies with is not always directly TTF
related. Sometimes it occurs directly when I make a StringTTF call
("problem loading glyph" or some such thing). Other times it will fail
to open a scratch file. Things seem to be pointing towards a memory or
resource leak.

Has anybody else experienced similar difficulties? I am sorry I can't
be more specific, or provide a way to consistently reproduce the
problem. I'm working on that. (For me it is very consistent, but my
script requires access to my database.)

Our current system details:
Windows 2000 Advanced Server SP1, 384Mb RAM
ActivePerl build 623
GD 1.27.2
GDGraph 1.32

Thanks in advance,
Tony Dyson


--
=================================================================
Anthony Dyson
TMR AG
Zeughausplatz 11
CH-4410 Liestal
Switzerland
=================================================================

_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activeperl

Reply via email to