[Advanced-java] Out of Memory in Java transformation for large
XMLdata
Prashant Parashar
pparashar at csc.com
Wed Nov 23 00:16:22 PST 2005
That only helps the problem temporarily.
The data can grow upto any limit and what I want that transformer should
not keep this in memory, I am also passing it through a piped stream.
Does anybody know whether transformer keeps the whole document in memory
or it can be optimized?
Regards,
Prashant Parashar
Computer Sciences Corporation (CSC)
POINT IN Development
Ph. +91-120-258-2323 (Ext 2727)
E-Mail: pparashar at csc.com
For information related to POINT IN please visit
http://www.csc-fs.com/clientsupport/pointin
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to
bind CSC to any order or other contract unless pursuant to explicit
written agreement or government initiative expressly permitting the use of
e-mail for such purpose.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
<sankar.ammaiyappan at wipro.com>
11/23/2005 12:37 PM
To
Prashant Parashar/FSG/CSC at CSC, <advanced-java at lists.xcf.berkeley.edu>
cc
Subject
RE: [Advanced-java] Out of Memory in Java transformation for large XMLdata
Try using the following options with the java command you use for starting
the application:
-Xms25m à used for specifying the initial heap size
-Xmx100m à used for specifying the max heap size (I am assuming it to be
100mb)
Hope this helps.
From: advanced-java-bounces at lists.XCF.Berkeley.EDU
[mailto:advanced-java-bounces at lists.XCF.Berkeley.EDU] On Behalf Of
Prashant Parashar
Sent: Wednesday, November 23, 2005 12:19 PM
To: advanced-java at lists.xcf.berkeley.edu
Subject: [Advanced-java] Out of Memory in Java transformation for large
XMLdata
I am using Java transformer (Xalan) to transform large XML
data with some XSL.
And whenever the data is too large (>50 MB), I get Out of memory error.
I am wondering, is there a way out?
Any help would be appreciated.
Thanks and regards,
Prashant Parashar
Computer Sciences Corporation (CSC)
POINT IN Development
Ph. +91-120-258-2323 (Ext 2727)
E-Mail: pparashar at csc.com
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to
bind CSC to any order or other contract unless pursuant to explicit
written agreement or government initiative expressly permitting the use of
e-mail for such purpose.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
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
Mailadmin at wipro.com immediately
and destroy all copies of this message and any attachments.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /lists/advanced-java/attachments/20051123/4c9be498/attachment.html
More information about the Advanced-java
mailing list