xml-xmlbeans-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Radhakrishnan J <radhakrishna...@tavant.com>
Subject RE: Out of memory problem !!
Date Fri, 23 Jul 2004 05:19:58 GMT
I've already tried this. This doesn't seem to work I have 1GB RAM and I'
tried specifying -mx1024M !! Actually, I checked the file where the javac
command line parameters are saved. Following is an example entry

-d
C:\DOCUME~1\RADHAK~1.IND\LOCALS~1\Temp\xbean6054.d\classes
-classpath
"C:\\DOCUME~1\\RADHAK~1.IND\\LOCALS~1\\Temp\\xbean6054.d\\classes;C:\\Progra
m Files\\j2sdk142_03\\jre\\lib\\charsets.jar;C:\\Program
Files\\j2sdk142_03\\jre\\lib\\jce.jar;C:\\Program
Files\\j2sdk142_03\\jre\\lib\\jsse.jar;C:\\Program
Files\\j2sdk142_03\\jre\\lib\\plugin.jar;C:\\Program
Files\\j2sdk142_03\\jre\\lib\\rt.jar;C:\\Program
Files\\j2sdk142_03\\jre\\lib\\sunrsasign.jar;C:\\Program
Files\\j2sdk142_03\\jre\\lib\\ext\\dnsns.jar;C:\\Program
Files\\j2sdk142_03\\jre\\lib\\ext\\ldapsec.jar;C:\\Program
Files\\j2sdk142_03\\jre\\lib\\ext\\localedata.jar;C:\\Program
Files\\j2sdk142_03\\jre\\lib\\ext\\sunjce_provider.jar;D:\\CVSIndia\\Infrast
ructure\\SystemIntegration\\source\\build\\monitorEAR\\classes;D:\\CVSIndia\
\Infrastructure\\SystemIntegration\\source\\monitorEAR\\monitorWar\\WEB-INF\
\lib\\castor-0.9.3.21-xml.jar;D:\\CVSIndia\\Infrastructure\\SystemIntegratio
n\\source\\monitorEAR\\monitorWar\\WEB-INF\\lib\\commons-beanutils.jar;D:\\C
VSIndia\\Infrastructure\\SystemIntegration\\source\\monitorEAR\\monitorWar\\
WEB-INF\\lib\\commons-collections.jar;D:\\CVSIndia\\Infrastructure\\SystemIn
tegration\\source\\monitorEAR\\monitorWar\\WEB-INF\\lib\\commons-digester.ja
r;D:\\CVSIndia\\Infrastructure\\SystemIntegration\\source\\monitorEAR\\monit
orWar\\WEB-INF\\lib\\commons-discovery.jar;D:\\CVSIndia\\Infrastructure\\Sys
temIntegration\\source\\monitorEAR\\monitorWar\\WEB-INF\\lib\\commons-loggin
g.jar;D:\\CVSIndia\\Infrastructure\\SystemIntegration\\source\\monitorEAR\\m
onitorWar\\WEB-INF\\lib\\commons-validator.jar;D:\\CVSIndia\\Infrastructure\
\SystemIntegration\\source\\monitorEAR\\monitorWar\\WEB-INF\\lib\\InfraUtils
.jar;D:\\CVSIndia\\Infrastructure\\SystemIntegration\\source\\monitorEAR\\mo
nitorWar\\WEB-INF\\lib\\jakarta-oro.jar;D:\\CVSIndia\\Infrastructure\\System
Integration\\source\\monitorEAR\\monitorWar\\WEB-INF\\lib\\jakarta-regexp-1.
3.jar;D:\\CVSIndia\\Infrastructure\\SystemIntegration\\source\\monitorEAR\\m
onitorWar\\WEB-INF\\lib\\monitoring.jar;D:\\CVSIndia\\Infrastructure\\System
Integration\\source\\monitorEAR\\monitorWar\\WEB-INF\\lib\\ognl-2.1.4.jar;D:
\\CVSIndia\\Infrastructure\\SystemIntegration\\source\\monitorEAR\\monitorWa
r\\WEB-INF\\lib\\struts.jar;D:\\CVSIndia\\Infrastructure\\SystemIntegration\
\source\\monitorEAR\\monitorWar\\WEB-INF\\lib\\xercesImpl.jar;D:\\CVSIndia\\
Infrastructure\\SystemIntegration\\source\\monitorEAR\\monitorWar\\WEB-INF\\
lib\\xmlParserAPIs.jar;D:\\Software\\j2sdkee1.3.1\\lib\\j2ee.jar;D:\\CVSIndi
a\\Infrastructure\\SystemIntegration\\source\\dev-lib\\easymock1.0.1b.jar;D:
\\CVSIndia\\Infrastructure\\SystemIntegration\\source\\dev-lib\\junit3.8.1_j
unit.jar;D:\\CVSIndia\\Infrastructure\\SystemIntegration\\source\\monitorEAR
\\monitorWar\\WEB-INF\\lib\\log4j-1.2.8.jar;D:\\temp\\workflow.jar;D:\\Softw
are\\xmlbeans-1.0.3\\lib\\xbean.jar"
-source
1.4
-g:none

The point is that when I specify the '-mxXXX' value, this should get
translated into a '-J-XmxXXX' entry in this file which doesn't seem to
happen.

Thanks,
Radhakrishnan

-----Original Message-----
From: Cezar Andrei [mailto:cezar@bea.com]
Sent: Friday, July 23, 2004 1:40 AM
To: xmlbeans-user@xml.apache.org
Subject: RE: Out of memory problem !!


Check out this thread, it talks about out of memory when compiling schemas:
http://nagoya.apache.org/eyebrowse/ReadMsg?listName=xmlbeans-user@xml.apache
.org&msgNo=776

> -----Original Message-----
> From: Radhakrishnan J [mailto:radhakrishnan.j@tavant.com]
> Sent: Thursday, July 22, 2004 12:03 PM
> To: xmlbeans-user@xml.apache.org
> Subject: RE: Out of memory problem !!
> 
> 
> I guess the mail got a little confusing.
> 
> - I explicitly compile the dumped '.java' files
> - Jar the .class files and the '.xsb' dump ( this includes 
> some .xsd files
> as well )
> 
> Would this jar be equivalent to what the schema compiler 
> generates ? Also,
> what is the way out for this out of memory problem ? I tried the '-mx'
> option. Doesn't seem to make any difference. I noticed that a 
> 'javacxxxx'
> file gets created in the temp folder in my 'user.home' 
> folder. I checked out
> the contents of this file, it doesn't reflect the '-mx' value 
> that I pass in
> the commandline.
> 
> Thanks,
> Radhakrishnan
> 
> 
> >  -----Original Message-----
> > From: 	Radhakrishnan J  
> > Sent:	Thursday, July 22, 2004 8:01 PM
> > To:	'xmlbeans-user@xml.apache.org'
> > Subject:	Out of memory problem !!
> > 
> > Hi,
> > 
> > I am facing the out of memory problem when I try to compile 
> a bunch of
> > schemas. I have to use . I tried to use the '-src' and '-d' 
> options of src
> > to get a dump of the '.xsb' files and the '.java' files and then
> > explicitly
> > compile the java files and jar the '.xsb' files and '.java' files. I
> > noticed
> > that the contents of the jar generated in the two different ways are
> > different ( for the schema compilation approach, I'm using 
> an earlier jar
> > ,
> > but there haven't been to many changes to the schemas since then ).
> > 
> > The schema compilation has come to a standstill because of 
> this. Would
> > like
> > to find a way out now.
> > 
> > Thanks,
> > Radhakrishnan 
> > Extn  372
> > 
> > http://kwiki-infra.india.tavant.com/kwiki/
> > 
> > 
> 
> - 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:   xmlbeans-user-unsubscribe@xml.apache.org
> For additional commands, e-mail: xmlbeans-user-help@xml.apache.org
> Apache XMLBeans Project -- URL: http://xml.apache.org/xmlbeans/
> 
> 

- ---------------------------------------------------------------------
To unsubscribe, e-mail:   xmlbeans-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xmlbeans-user-help@xml.apache.org
Apache XMLBeans Project -- URL: http://xml.apache.org/xmlbeans/

- ---------------------------------------------------------------------
To unsubscribe, e-mail:   xmlbeans-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xmlbeans-user-help@xml.apache.org
Apache XMLBeans Project -- URL: http://xml.apache.org/xmlbeans/


Mime
View raw message