Author Topic: java.lang.OutOfMemoryError: PermGen space  (Read 3749 times)

nokia

  • Newbie
  • *
  • Posts: 3
    • View Profile
java.lang.OutOfMemoryError: PermGen space
« on: January 07, 2008, 01:12:07 AM »
hi,

  i try to run the report and i got the following error
  "java.lang.OutOfMemoryError: PermGen space"
 At the  First time i run the report is working fine, but continuous running report it cause the "java.lang.OutOfMemoryError: PermGen space" error.

 I increase my java heap size up 512 mb, that time also i got the same. my system configuration 1 GB of RAM, p4 2.00 GHz and Windows XP.

Please help me for this problem,

thanks
nokia

 


kate

  • Administrator
  • Sr. Member
  • *****
  • Posts: 221
    • View Profile
    • KonaKart Website
Re: java.lang.OutOfMemoryError: PermGen space
« Reply #1 on: January 07, 2008, 01:19:32 AM »
Hi,

Is this one of the provided reports (if so, which one) or one that you've added?

Regards - Kate

nokia

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: java.lang.OutOfMemoryError: PermGen space
« Reply #2 on: January 07, 2008, 01:36:38 AM »
hello kate,

all default reports provided by the Konakart.
 

thanks for u'r replay

kate

  • Administrator
  • Sr. Member
  • *****
  • Posts: 221
    • View Profile
    • KonaKart Website
Re: java.lang.OutOfMemoryError: PermGen space
« Reply #3 on: January 07, 2008, 05:29:36 AM »
Hi,

I have no problems running the standard KonaKart reports using the standard parameters in the default installation.


However, if JAVA_OPTS, CATALINA_OPTS or DEBUG_OPTS is set in your environment, these will be used.  Check these are appropriate for your needs.

You mentioned that you increased your "heap" size to 512M - did you use the Xmx parameter?

You probably need to make sure that MaxPermSize (the maximum size for the permanent generation heap) is set high enough as well - although, as I said above, the default settings (where none of these memory settings are specified at all) worked fine for me.

Regards,
Kate