You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-users@xalan.apache.org by David Bertoni <db...@apache.org> on 2007/05/21 20:42:58 UTC
Re: XercesStdOutputWriterException
Ryan Sawatzky wrote:
> Hello,
>
> I was wondering if anyone could shed a little light on the following
> exception that is thrown from my transformer->transform() function call.
> XercesStdOutputStreamWriteException: Error writing to standard
> stream!. The error code was 12. (, line -1, column -1)
> I tried to look for information on this exception class, but couldn't
> really find anything that would tell me what an error code 12 means.
I'm assuming you mean XalanStdOutputStreamWriteException, not
XercesStdOutputStreamWriteException. If so, then the error code 12
corresponds to the C run-time library errno value, so you'll need to look
that up in your compiler's documentation.
Dave
Re: XercesStdOutputWriterException
Posted by Ryan Sawatzky <rs...@openfox.com>.
David Bertoni wrote:
> Ryan Sawatzky wrote:
>> Hi David,
>>
>> Thanks for the quick reply and the info. Yes, I did mean Xalan.
>> Somehow we're running out of memory, (12 = ENOMEM on our system).
>
> That seems strange, since I would expect the stream would already be
> open and ready for writing. Is the document you're trying to
> transform so large? What OS and compiler are you using?
>
> Dave
The document is about 100 KB so I don't think the size is causing an
issue. I think it may be a slow memory leak in our application, seems
to run solidly for 2~3 days and then we start seeing these errors.
We're running on AIX version 5.3.0.0, compiling with IMB's XL C/C++
Enterprise Edition V7.0
-Ryan
Re: XercesStdOutputWriterException
Posted by David Bertoni <db...@apache.org>.
Ryan Sawatzky wrote:
> Hi David,
>
> Thanks for the quick reply and the info. Yes, I did mean Xalan.
> Somehow we're running out of memory, (12 = ENOMEM on our system).
That seems strange, since I would expect the stream would already be open
and ready for writing. Is the document you're trying to transform so
large? What OS and compiler are you using?
Dave
Re: XercesStdOutputWriterException
Posted by Ryan Sawatzky <rs...@openfox.com>.
Hi David,
Thanks for the quick reply and the info. Yes, I did mean Xalan.
Somehow we're running out of memory, (12 = ENOMEM on our system).
Thanks again,
-Ryan
David Bertoni wrote:
> Ryan Sawatzky wrote:
>> Hello,
>>
>> I was wondering if anyone could shed a little light on the following
>> exception that is thrown from my transformer->transform() function call.
>> XercesStdOutputStreamWriteException: Error writing to standard
>> stream!. The error code was 12. (, line -1, column -1)
>> I tried to look for information on this exception class, but couldn't
>> really find anything that would tell me what an error code 12 means.
>
> I'm assuming you mean XalanStdOutputStreamWriteException, not
> XercesStdOutputStreamWriteException. If so, then the error code 12
> corresponds to the C run-time library errno value, so you'll need to
> look that up in your compiler's documentation.
>
> Dave
>
>