This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Java in General and the fly likes -Xmx1024m -XX:MaxPermSize=640m -Dcom.sun.aas.instanceName=server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "-Xmx1024m -XX:MaxPermSize=640m -Dcom.sun.aas.instanceName=server" Watch "-Xmx1024m -XX:MaxPermSize=640m -Dcom.sun.aas.instanceName=server" New topic
Author

-Xmx1024m -XX:MaxPermSize=640m -Dcom.sun.aas.instanceName=server

Michele Smith
Ranch Hand

Joined: Oct 27, 2010
Posts: 389
Hello I have been trying to register some EJBs, I have about 8 more to go.

About 2 EJBs ago, the server started slowing down. I have only 2 gb of RAM on my machine. Others that I work around say they have 3.75 gb of RAM.

CAn you think of some way that I can tweak:

-Xmx1024m -XX:MaxPermSize=640m -Dcom.sun.aas.instanceName=server

to utilize a little more RAM to see if I can stay away from the "glass ceiling"

Thanks,
Michele
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: -Xmx1024m -XX:MaxPermSize=640m -Dcom.sun.aas.instanceName=server
 
Similar Threads
Out of Memory Issues with Tomcat on Ubuntu 10
-Xmx1024m -XX:MaxPermSize=640m -Dcom.sun.aas.instanceName=server
error occurred during intialization of VM could not reserve enough space for object heap & ant
OutOfMemory Error with MySQL 5 and / or Tomcat
This bundle has no bean of name error on GlassFish 2.1.1