cancel
Showing results for 
Search instead for 
Did you mean: 

OutOfMemory Exception during deploy J2EE application (Javac process)

Former Member
0 Kudos

During deploy an OutOfMemory exception occurs during JAVAC process.

I'm using deploytool and when at 99% a javac process start but when with process use about 76MB of memory (and VM Size) an OutOfMemory Exception occurs.

i try to start the deploytool cmd with -server -ms256m -Xmx256m arguments; but i think this is used only from the Deploy tool directly and not used from the javac process launched.

How can i configure javac to use more memory ?

Or i need to deploy my j2ee application using others ways?

i'm using SAP Sneak Preview 6.4 SR1 (6.40 PatchLevel 87289.311)

Accepted Solutions (1)

Accepted Solutions (1)

Vlado
Advisor
Advisor
0 Kudos

Hi Roberto,

Please have a look at SAP note 759669.

http://service.sap.com/notes

Hope it helps,

Vladimir

Message was edited by: Vladimir Pavlov

Former Member
0 Kudos

Thank you

But i'm not able to registre in service.sap.com because i'm not a SAP customer.

I have download SAP from the developer site, so i haven't the customer, partnet or installation number.

So i cannot acess to notes.

Can you send me a cut and paste of this note please?

Thank You Very Much

Vlado
Advisor
Advisor
0 Kudos

Hi Roberto,

Here is the relevant part of the note:

-


cut----


I. If you are running SP9 or higher of the J2EE Engine 6.40 <i>(which you are)</i>

proceed as follows:

1. Start the configtool in <J2EE_HOME>/configtool directory

2. Browse the tree in the left pane

cluster-data -> Global server configuration -> services -> classpath_resolver

3. In the right pane click on the key javac.Xmx

4. In the Value edit field on the bottom insert

256

5. press the Set button in the upper right corner

6. choose from the Menu File->Apply and confirm all windows popping up

7. restart the J2EE instance

8. restart the deployment process

-


cut----


Best regards,

Vladimir

PS: Please consider <a href="https://www.sdn.sap.com/sdn/index.sdn?page=crp_help.htm#lostme">rewarding points</a>. Thanks.

Former Member
0 Kudos

Thank You Very Much!

U have resolved my problem!

Answers (0)