Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Linux Archive
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-18-2008, 08:03 PM
Member
 
Join Date: Aug 2008
Posts: 2
manibhat is on a distinguished road
how do I increase memory allocated to code cache (Non Heap Memory)
I am running Jboss 4.2.2 on jdk 1.5.0.11. I managed to increase the permanent generation non heap memory using -XX:PermSize=32m -XX:MaxPermSize=128m, but didnt find an option to increase the code cache non heap memory which by default is 32 MB.

Any help is appreciated.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 08-21-2008, 07:21 PM
Senior Member
 
Join Date: Jun 2007
Location: Bali, ID
Posts: 102
wsaryada is on a distinguished road
What about using the following configuration: -Xms64m -Xmx128m
__________________
Website:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
- Blog:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 08-21-2008, 09:33 PM
Member
 
Join Date: Aug 2008
Posts: 2
manibhat is on a distinguished road
wsaryada, the option -Xms64m -Xmx128m will only increase the heap size.

I found the answer. It's
-XX:ReservedCodeCacheSize=64m
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
JVm Heap memory settings nagesh Advanced Java 1 12-22-2008 08:27 PM
Out of memory mew New To Java 1 01-20-2008 10:55 AM
Memory mew CLDC and MIDP 0 12-28-2007 01:02 PM
JVM Heap memory settings nagesh New To Java 1 08-12-2007 12:17 AM
Java Heap Out of Memory Error stonkers New To Java 3 07-17-2007 06:43 PM


All times are GMT +3. The time now is 09:51 AM.


VBulletin, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org