?
Solved

WebLogic 7.0 OutOfMemory problem

Posted on 2004-03-29
11
Medium Priority
?
2,134 Views
Last Modified: 2013-12-10
Hello,

I use weblogic 7.0 and I want to deploy my ECOM.ear. I got the error OutOfMemory when I want to deploy it in Jbuilder 9.0. Here is the startWebLogic.cmd

@rem Set JAVA_OPTIONS to the java flags you want to pass to the vm. i.e.:
@rem set JAVA_OPTIONS=-Dweblogic.attribute=value -Djava.attribute=value
set JAVA_OPTIONS=-Dweblogic.security.SSL.trustedCAKeyStore=D:\BEA\weblogic700\server\lib\cacerts

@rem Set JAVA_VM to the java virtual machine you want to run.  For instance:
@rem set JAVA_VM=-server
set JAVA_VM=

@rem Set MEM_ARGS to the memory args you want to pass to java.  For instance:
@rem set MEM_ARGS=-Xms32m -Xmx200m
set MEM_ARGS=

I think that change one of the option. Can you tell me which and how to change the option.

Thanks for your help
-FA

0
Comment
Question by:Farzad Akbarnejad
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
11 Comments
 
LVL 92

Expert Comment

by:objects
ID: 10711205
to give it 512Mb use:

set MEM_ARGS=-Xms32m -Xmx512m
0
 
LVL 14

Author Comment

by:Farzad Akbarnejad
ID: 10711247
Thanks. But I got java.lang.OutOfMemoryError before. I think that I must set
-XX:MaxPermSize option for JVM but I don't knoe about its syntax.

-FA
0
 
LVL 92

Expert Comment

by:objects
ID: 10711260
-XX:MaxPermSize=<size>

eg. -XX:MaxPermSize=128m

Why do you think you need to set the permanent generation size?
0
Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

 
LVL 14

Author Comment

by:Farzad Akbarnejad
ID: 10711361
I found it in google but I couldn't to solve my problem. :(
0
 
LVL 92

Expert Comment

by:objects
ID: 10711393
Did increasing the memory heap with -Xmx not help?
0
 
LVL 14

Author Comment

by:Farzad Akbarnejad
ID: 10711406
No. I test it at first. It didn't solve my problem.

-FA
0
 
LVL 14

Author Comment

by:Farzad Akbarnejad
ID: 10711546
Thanks objects. I succeeded to solve my problme by decreasing the lib-s that I loaded.

-FA
0
 
LVL 92

Expert Comment

by:objects
ID: 10711699
good to hear :)
0
 
LVL 14

Author Comment

by:Farzad Akbarnejad
ID: 10711714
objects,
Must I assign point to you or ask moderator to close the question? You spent time and I belive that I must assign point to you.

-FA
0
 
LVL 13

Expert Comment

by:Webstorm
ID: 10711888
Hi FarzadA,

as you solved the problem yourself (you also spend time i guess), the points must be given to you.
0
 

Accepted Solution

by:
PashaMod earned 0 total points
ID: 10714790
Closed, 500 points refunded.
PashaMod
Community Support Moderator
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

-Xmx and -Xms are the two JVM options often used to tune JVM heap size.   Here are some common mistakes made when using them:   Assume BigApp is a java class file for the below examples. 1.         Missing m, M, g or G at the end …
This article is about some of the basic and important steps to be used to improve the performance in web-sphere commerce application development. 1) Always leverage the Dyna-caching facility provided by the product 2) Remove the unwanted code …
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question