<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:v = 
"urn:schemas-microsoft-com:vml" xmlns:o = 
"urn:schemas-microsoft-com:office:office" xmlns:w = 
"urn:schemas-microsoft-com:office:word" xmlns:st1 = 
"urn:schemas-microsoft-com:office:smarttags"><HEAD><TITLE>XEP4NET 'out of memory' error</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1491" name=GENERATOR><!--[if !mso]>
<STYLE>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</STYLE>
<![endif]--><o:SmartTagType name="address" 
namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><o:SmartTagType 
name="place" 
namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><o:SmartTagType 
name="State" 
namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><o:SmartTagType 
name="Street" 
namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><o:SmartTagType 
name="City" 
namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><o:SmartTagType 
name="PersonName" 
namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><!--[if !mso]>
<STYLE>
st1\:*{behavior:url(#default#ieooui) }
</STYLE>
<![endif]-->
<STYLE>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</STYLE>
</HEAD>
<BODY lang=EN-US vLink=purple link=blue>
<DIV dir=ltr align=left><SPAN class=718292415-19052005><FONT face=Arial 
color=#0000ff size=2>Thanks Mher ! </FONT></SPAN><SPAN 
class=718292415-19052005><FONT face=Arial color=#0000ff size=2>It processes BIG 
xml files beautifully now!</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=718292415-19052005></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=718292415-19052005><FONT face=Arial 
color=#0000ff size=2>Hiral</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=718292415-19052005><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> owner-xep-support@renderx.com 
[mailto:owner-xep-support@renderx.com] <B>On Behalf Of </B>Mher 
Movsisyan<BR><B>Sent:</B> Thursday, May 19, 2005 5:34 AM<BR><B>To:</B> 
xep-support@renderx.com<BR><B>Subject:</B> RE: [xep-support] XEP4NET 'out of 
memory' error<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV class=Section1>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Hiral, 
<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">To increase the memory 
of JVM create a &#8216;CliserService.exe.config&#8217; configuration file in the home 
directory of XEP4NET and restart Cliser service. In your case the configuration 
file will look like this:<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN 
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">&lt;?xml 
version="1.0"?&gt;<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN 
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">&lt;configuration&gt;<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN 
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;appSettings&gt;<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN 
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;add key="CliserService.JavaOptions" value="-Xms512M -Xmx1024M" 
/&gt;<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN 
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;/appSettings&gt;<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN 
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">&lt;/configuration&gt;<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN 
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN 
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">where the actual value 
of memory (&#8220;-Xms512M -Xmx1024M&#8221;) depends on your computer&#8217;s RAM. For more 
information you can read the documentation of 
CliserService.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN 
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN 
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Best 
regards,<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN 
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Mher 
Movsisyan<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN 
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">RenderX<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<DIV 
style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: medium none; PADDING-LEFT: 4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: blue 1.5pt solid; PADDING-TOP: 0in; BORDER-BOTTOM: medium none">
<DIV>
<DIV class=MsoNormal style="TEXT-ALIGN: center" align=center><FONT 
face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">
<HR tabIndex=-1 align=center width="100%" SIZE=2>
</SPAN></FONT></DIV>
<P class=MsoNormal><B><FONT face=Tahoma size=2><SPAN 
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">From:</SPAN></FONT></B><FONT 
face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"> 
owner-<st1:PersonName 
style="BACKGROUND-POSITION: left bottom; BACKGROUND-IMAGE: url(res://ietag.dll/#34/#1001); BACKGROUND-REPEAT: repeat-x" 
tabIndex=0 w:st="on">xep-support@renderx.com</st1:PersonName> 
[mailto:owner-<st1:PersonName 
style="BACKGROUND-POSITION: left bottom; BACKGROUND-IMAGE: url(res://ietag.dll/#34/#1001); BACKGROUND-REPEAT: repeat-x" 
tabIndex=0 w:st="on">xep-support@renderx.com</st1:PersonName>] <B><SPAN 
style="FONT-WEIGHT: bold">On Behalf Of </SPAN></B>Hiral Parikh<BR><B><SPAN 
style="FONT-WEIGHT: bold">Sent:</SPAN></B> Thursday, May 19, 2005 12:34 
AM<BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> <st1:PersonName 
style="BACKGROUND-POSITION: left bottom; BACKGROUND-IMAGE: url(res://ietag.dll/#34/#1001); BACKGROUND-REPEAT: repeat-x" 
tabIndex=0 w:st="on">xep-support@renderx.com</st1:PersonName><BR><B><SPAN 
style="FONT-WEIGHT: bold">Subject:</SPAN></B> [xep-support] XEP4NET 'out of 
memory' error</SPAN></FONT><o:p></o:p></P></DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Hi,</SPAN></FONT> <BR><FONT 
face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I have got 
this error (out of memory) in the pure java version of XEP whenever I have tried 
to format a big docbook xml (more than 200 pg pdf). 
</SPAN></FONT><o:p></o:p></P>
<P><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I 
have always fixed it by increasing the heap size to some higher value (java 
-Xmx300M &#8230;.).</SPAN></FONT> <o:p></o:p></P>
<P><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">But 
my problem is that I want to use the provided sample .NET application to format 
my document instead of the command line.</SPAN></FONT><o:p></o:p></P>
<P><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">How 
do we increase the java heap size for the xep.dll wrapper that is being used by 
the sample ASP.NET application?</SPAN></FONT> <BR><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Same question for XEP assistant and 
ActiXEP as well. Is it possible to increase the heap size for those java calls 
as well?</SPAN></FONT><o:p></o:p></P>
<P><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Thanks,</SPAN></FONT> <BR><FONT 
face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Hiral</SPAN></FONT> <o:p></o:p></P>
<P><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">____________________________________________________</SPAN></FONT> 
<BR><B><I><FONT face=Arial size=2><SPAN 
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-STYLE: italic; FONT-FAMILY: Arial">Hiral 
Parikh</SPAN></FONT></I></B> <BR><I><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-STYLE: italic; FONT-FAMILY: Arial">Sr. Software 
Engineer</SPAN></FONT></I> <BR><st1:City w:st="on"><st1:place w:st="on"><I><FONT 
face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-STYLE: italic; FONT-FAMILY: Arial">Ames-On-Demand</SPAN></FONT></I></st1:place></st1:City> 
<BR><I><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-STYLE: italic; FONT-FAMILY: Arial">30, <st1:address 
style="BACKGROUND-POSITION: left bottom; BACKGROUND-IMAGE: url(res://ietag.dll/#34/#1001); BACKGROUND-REPEAT: repeat-x" 
tabIndex=0 w:st="on"><st1:Street w:st="on">Dane Street</st1:Street> <FONT 
face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt; FONT-STYLE: normal; FONT-FAMILY: 'Times New Roman'"><BR></SPAN></FONT><st1:City 
w:st="on">Somerville</st1:City>, <st1:State 
w:st="on">MA</st1:State></st1:address> - 02143</SPAN></FONT></I> <BR><I><FONT 
face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-STYLE: italic; FONT-FAMILY: Arial">617-684-1042</SPAN></FONT></I> 
<o:p></o:p></P></DIV></DIV></BODY></HTML>