GVS Srinivas wrote:

hi  all ,
i am  trying to transform a large svg into an jpg image using batik jpeg
transcoder and i am encoutering with outofmemoryerror.

I think you just want to give Java some extra memory. The simplest way to do this is with the command line switch: -Xmx256m Which will give Java 256MB of memory to work with compared with the default of around 64MB.

when the transcode method is called from the jpegtranscoder.
1.jpegtrascoder---------->>>>>2.imagetranscoder.transcode()----------->>>>3.
Staticrenderer.repaint()----------->>>>>>4.Staticrenderer.updateWorkingBuffe
rs()------>>>>5. Raster.createWritableRaster().after this i am geting the
outofmemoryerror.
when i debug the code actual wrror is coming in the in databufferInt class.
would you please send me the code for correcting this problem in the batik
thanks a lot
GVS


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






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



Reply via email to