Results 1 to 3 of 3
  1. #1
    manibhat is offline Member
    Join Date
    Aug 2008
    Posts
    2
    Rep Power
    0

    Default 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.

  2. #2
    wsaryada is offline Senior Member
    Join Date
    Jun 2007
    Location
    Bali, Indonesia
    Posts
    760
    Rep Power
    8

    Default

    What about using the following configuration: -Xms64m -Xmx128m

  3. #3
    manibhat is offline Member
    Join Date
    Aug 2008
    Posts
    2
    Rep Power
    0

    Default

    wsaryada, the option -Xms64m -Xmx128m will only increase the heap size.

    I found the answer. It's
    -XX:ReservedCodeCacheSize=64m

Similar Threads

  1. JVm Heap memory settings
    By nagesh in forum Advanced Java
    Replies: 2
    Last Post: 09-17-2009, 05:47 PM
  2. Out of memory
    By mew in forum New To Java
    Replies: 1
    Last Post: 01-20-2008, 08:55 AM
  3. Memory
    By mew in forum CLDC and MIDP
    Replies: 0
    Last Post: 12-28-2007, 11:02 AM
  4. JVM Heap memory settings
    By nagesh in forum New To Java
    Replies: 1
    Last Post: 08-11-2007, 10:17 PM
  5. Java Heap Out of Memory Error
    By stonkers in forum New To Java
    Replies: 3
    Last Post: 07-17-2007, 04:43 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •