Hi Chris,

   I did the same. If I increase the heap size, I am not getting any
error.. But if I run the program, without increasing the heap, then it's
giving the problem. Can't we run the program without increasing the heap
size?????
Is there any alternative to this problem other than this.
   That's my basic doubt.....


Thanks & Regards,
Chandrasekhar Sanku
-----Original Message-----
From: Chris Bowditch [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 13, 2004 3:15 PM
To: [EMAIL PROTECTED]
Subject: Re: out of memory exception while creating font metrics

Chandrasekhar Sanku wrote:

> Hi all,
> 
>  
> 
>     To use system fonts in FOP, I am creating metrics files for each 
> font. While doing this process, my program is giving out of memory 
> exception.
> 
> How to resolve this problem...
> 
>  
> 
>    I am attaching the method what I have written..

Some of the fonts in the Windows System area are fairly chunky, Arial
Unicode 
has loads of glyphs in it, and 64M probably isnt enough to process it. 
Increase your JVM heap to 256M, and try again. If it still fails, do a 
System.out on each font/style to show progress so you can see which font

causes the OutOfMemoryException.

Chris


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Confidentiality Notice 

The information contained in this electronic message and any attachments to 
this message are intended
for the exclusive use of the addressee(s) and may contain confidential or 
privileged information. If
you are not the intended recipient, please notify the sender at Wipro or [EMAIL 
PROTECTED] immediately
and destroy all copies of this message and any attachments.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to