-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: PermGen space OutOfMemory error
PostPosted: Sat Oct 11, 2008 3:15 am 
Newbie

Joined: Sun Jul 01, 2007 12:15 pm
Posts: 7
Location: Philippines
I got this outOfMemory Permgen space error in our application.

This started when i configured c3po connection pooling in my hibernate.cfg.xml. Here's an excerpt from hibernate.cfg.xml:


<!-- JDBC connection pool (use the built-in) -->
<property name="connection.pool_size">1</property>


<property name="c3p0.acquire_increment">1</property>
<property name="c3p0.idle_test_period">100</property> <!-- seconds -->
<property name="c3p0.max_size">100</property>
<property name="c3p0.max_statements">0</property>
<property name="c3p0.min_size">10</property>
<property name="c3p0.timeout">100</property>


i noticed i set c3po but i did not remove the "connection.pool_size" property.
Could this be connected to the permgen error i'm getting?

Is there something in hibernate that can be configured to prevent this permgen space error?


Top
 Profile  
 
 Post subject:
PostPosted: Sat Oct 11, 2008 4:30 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 7:19 pm
Posts: 2364
Location: Brisbane, Australia
Increase your Permgen space allocated by the JVM. It is a command line argument.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.