On Mon, May 05, 2008 at 01:58:50PM +0530, eusabia roseline <[EMAIL PROTECTED]> 
wrote:
> Also, there is no problem executing the command during runtime for small PDF
> files with less pages, but only with large PDFs the problem occurs. These
> large PDFs are getting converted well when the command is executed in
> command line.

Sounds as if Java imposes some memory restrictions on subprocesses.
Also, it might be that for large PDFs pdf2swf is generating too
many log messages, and thus will block when the output buffer
is full.

You're using Runtime.getRunTime().exec(), right?

Are there perhaps any clues as to what's happening in 
getInputStream() or getErrorStream() ?

Greetings

Matthias



Reply via email to