on 02-14-2005 8:28 AM
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)
Hi Roberto,
Please have a look at SAP note 759669.
Hope it helps,
Vladimir
Message was edited by: Vladimir Pavlov
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.