We have found that by using the "jikes" compiler instead of javac for doing
ejbc, we are much more economical with memory.  Specifically we use jikes
1.15, although a few of us use 1.17 (avoid 1.16!!).  Prior to switching over
to use jikes, we were constantly getting the same memory errors you are
seeing.

Steve



 -----Original Message-----
 From: Butt, Dudley [mailto:[EMAIL PROTECTED]
 Sent: Thursday, March 20, 2003 8:54 AM
 To: 'Struts Users Mailing List'
 Subject: RE: Java Out Of Memory
 
 
 yes guys come on, anyone got some tricks up their sleeves? i 
 really would appreciate it
 
 -----Original Message-----
 From: Alexandre Jaquet [mailto:[EMAIL PROTECTED]
 Sent: Thursday, March 20, 2003 6:51 PM
 To: Struts Users Mailing List
 Subject: Re: Java Out Of Memory
 
 
 yeap I think so too but I'm sure someone could you
 more here
 
 cheers
 
 ----- Original Message -----
 From: "Butt, Dudley" <[EMAIL PROTECTED]>
 To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
 Sent: Thursday, March 20, 2003 5:46 PM
 Subject: RE: Java Out Of Memory
 
 
 > so in other words, i need more RAM.... : )
 >
 > -----Original Message-----
 > From: Alexandre Jaquet [mailto:[EMAIL PROTECTED]
 > Sent: Thursday, March 20, 2003 6:45 PM
 > To: Struts Users Mailing List
 > Subject: Re: Java Out Of Memory
 >
 >
 > it's only for modify the ram size (by default 64 are allowed)
 >
 > ----- Original Message -----
 > From: "Butt, Dudley" <[EMAIL PROTECTED]>
 > To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
 > Sent: Thursday, March 20, 2003 5:43 PM
 > Subject: RE: Java Out Of Memory
 >
 >
 > > is -Xms256m only for available RAM, or can I increase my 
 page file size
 > and use that in the -X option aswell?
 > >
 > > -----Original Message-----
 > > From: Alexandre Jaquet [mailto:[EMAIL PROTECTED]
 > > Sent: Thursday, March 20, 2003 6:37 PM
 > > To: Struts Users Mailing List
 > > Subject: Re: Java Out Of Memory
 > >
 > >
 > > If you use -Xms256m you just will allow to use your whole memory.
 > >
 > > ----- Original Message -----
 > > From: "Butt, Dudley" <[EMAIL PROTECTED]>
 > > To: <[EMAIL PROTECTED]>
 > > Sent: Thursday, March 20, 2003 5:31 PM
 > > Subject: Java Out Of Memory
 > >
 > >
 > > > Hi there,
 > > >
 > > > I know this isn't a Struts question, but I also know you're all
 > extremely
 > > experienced Java dudes, so how can I prevent a Out Of 
 Memory error when
 > > > doing a Javac compile for ejbc, with a 
 EntityRelationshipBean? Any
 help
 > > would be great!
 > > > I'm compiling on a 256M machine and my command looks like this..
 > > >
 > > > set PATH=C:\java\j2sdk1.4.1_01\bin;%PATH%
 > > > set LIB=C:\java\working\invest\lib\
 > > >
 > > > java -verbosegc -cp %LIB%weblogic.jar -Xms128m -Xmx256m
 > > weblogic.ejbc -compiler javac EntityRel1.jar EntityRel.jar
 > > >
 > > > Many Thanx
 > > >
 > > >
 > > > NOTICE:
 > > >
 > > > This message contains privileged and confidential 
 information intended
 > > > only for the person or entity to which it is addressed.
 > > > Any review, retransmission, dissemination, copy or other 
 use of, or
 > > > taking of any action in reliance upon this information 
 by persons or
 > > > entities other than the intended recipient, is prohibited.
 > > >
 > > > If you received this message in error, please notify the sender
 > > > immediately by e-mail, facsimile or telephone and 
 thereafter delete
 the
 > > > material from any computer.
 > > >
 > > > The New Africa Capital Group, its subsidiaries or 
 associates do not
 > > > accept liability for any personal views expressed in 
 this message.
 > > >
 > > > 
 ---------------------------------------------------------------------
 > > > To unsubscribe, e-mail: 
 [EMAIL PROTECTED]
 > > > For additional commands, e-mail: 
 [EMAIL PROTECTED]
 > > >
 > > >
 > >
 > >
 > > 
 ---------------------------------------------------------------------
 > > To unsubscribe, e-mail: [EMAIL PROTECTED]
 > > For additional commands, e-mail: 
 [EMAIL PROTECTED]
 > >
 > >
 > > NOTICE:
 > >
 > > This message contains privileged and confidential 
 information intended
 > > only for the person or entity to which it is addressed.
 > > Any review, retransmission, dissemination, copy or other use of, or
 > > taking of any action in reliance upon this information by 
 persons or
 > > entities other than the intended recipient, is prohibited.
 > >
 > > If you received this message in error, please notify the sender
 > > immediately by e-mail, facsimile or telephone and 
 thereafter delete the
 > > material from any computer.
 > >
 > > The New Africa Capital Group, its subsidiaries or associates do not
 > > accept liability for any personal views expressed in this message.
 > >
 > > 
 ---------------------------------------------------------------------
 > > To unsubscribe, e-mail: [EMAIL PROTECTED]
 > > For additional commands, e-mail: 
 [EMAIL PROTECTED]
 > >
 > >
 >
 >
 > ---------------------------------------------------------------------
 > To unsubscribe, e-mail: [EMAIL PROTECTED]
 > For additional commands, e-mail: [EMAIL PROTECTED]
 >
 >
 > NOTICE:
 >
 > This message contains privileged and confidential 
 information intended
 > only for the person or entity to which it is addressed.
 > Any review, retransmission, dissemination, copy or other use of, or
 > taking of any action in reliance upon this information by persons or
 > entities other than the intended recipient, is prohibited.
 >
 > If you received this message in error, please notify the sender
 > immediately by e-mail, facsimile or telephone and thereafter 
 delete the
 > material from any computer.
 >
 > The New Africa Capital Group, its subsidiaries or associates do not
 > accept liability for any personal views expressed in this message.
 >
 > ---------------------------------------------------------------------
 > To unsubscribe, e-mail: [EMAIL PROTECTED]
 > For additional commands, e-mail: [EMAIL PROTECTED]
 >
 >
 
 
 ---------------------------------------------------------------------
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 NOTICE: 
 
 This message contains privileged and confidential information intended 
 only for the person or entity to which it is addressed. 
 Any review, retransmission, dissemination, copy or other use of, or 
 taking of any action in reliance upon this information by persons or 
 entities other than the intended recipient, is prohibited. 
 
 If you received this message in error, please notify the sender 
 immediately by e-mail, facsimile or telephone and thereafter 
 delete the 
 material from any computer. 
 
 The New Africa Capital Group, its subsidiaries or associates do not 
 accept liability for any personal views expressed in this message.
 
 ---------------------------------------------------------------------
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to