You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Butt, Dudley" <db...@metropolitan.co.za> on 2003/03/20 17:31:07 UTC

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: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: [OT] Java Out Of Memory

Posted by "Michael C. Lee Jr." <ml...@hotmail.com>.
If you know it's not pertaining to struts then please add [OT] to the
subject line somewhere.
thanks,
Mike

----- Original Message -----
From: "Butt, Dudley" <db...@metropolitan.co.za>
To: <st...@jakarta.apache.org>
Sent: Thursday, March 20, 2003 11:31 AM
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: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: Java Out Of Memory

Posted by Alexandre Jaquet <al...@freesurf.ch>.
If you use -Xms256m you just will allow to use your whole memory.

----- Original Message -----
From: "Butt, Dudley" <db...@metropolitan.co.za>
To: <st...@jakarta.apache.org>
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: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org