Re: could not serialize the page java.lang.OutOfMemoryError: PermGen space

2010-10-14 Thread Thomas Kappler

On 10/13/10 16:25, fachhoch wrote:


could not serialize the pagejava.lang.OutOfMemoryError: PermGen space ,


This is not *the* heap (for objects) as others have said, it's the 
permanent generation heap, which is a different memory section used by 
the JVM, for instance for interning Strings and for loaded classes. 
Google for more info.


If you get Could not reserve enough space for object heap when 
starting up, you don't have enough memory on the machine.



--
---
  Thomas Kapplerthomas.kapp...@isb-sib.ch
  Swiss Institute of Bioinformatics Tel: +41 22 379 51 89
  CMU, rue Michel Servet 1
  1211 Geneve 4
  Switzerland  http://www.uniprot.org
---

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: could not serialize the page java.lang.OutOfMemoryError: PermGen space

2010-10-14 Thread Erik van Oosten

fachhoch,

Please investigate whether any of your components can have references to 
something too big.


Regards,
Erik.


Op 13-10-10 16:25, fachhoch schreef:

could not serialize the pagejava.lang.OutOfMemoryError: PermGen space ,

I got this error, it happens once in a while , its hard to reproduce,
please tell me   can wicket cause memory errors  for any reason ?
I am using 1.4.8
   


--
Sent from my SMTP compliant software
Erik van Oosten
http://day-to-day-stuff.blogspot.com/



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



could not serialize the page java.lang.OutOfMemoryError: PermGen space

2010-10-13 Thread fachhoch

could not serialize the pagejava.lang.OutOfMemoryError: PermGen space , 

I got this error, it happens once in a while , its hard to reproduce, 
please tell me   can wicket cause memory errors  for any reason ?
I am using 1.4.8 
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/could-not-serialize-the-page-java-lang-OutOfMemoryError-PermGen-space-tp2993745p2993745.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



RE: could not serialize the page java.lang.OutOfMemoryError: PermGen space

2010-10-13 Thread CREMONINI Daniele
It happens when the maximum amount of heap memory is reached.

The solution is to increase a dedicated virtual machine parameter to a higher 
value.
For example if you wish to increase to 256 megabytes use this:

-XX:MaxPermSize=256m

in your eclipse.ini file or in the right file of your application server.
If the problem should arise anyway you should consider to examine memory leaks 
in your application.

Let us know
Bye
Daniele Cremonini


-Original Message-
From: fachhoch [mailto:fachh...@gmail.com] 
Sent: 13 October 2010 16:25
To: users@wicket.apache.org
Subject: could not serialize the page java.lang.OutOfMemoryError: PermGen space


could not serialize the pagejava.lang.OutOfMemoryError: PermGen space , 

I got this error, it happens once in a while , its hard to reproduce, 
please tell me   can wicket cause memory errors  for any reason ?
I am using 1.4.8 
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/could-not-serialize-the-page-java-lang-OutOfMemoryError-PermGen-space-tp2993745p2993745.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org


__
This message has been scanned for viruses.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: could not serialize the page java.lang.OutOfMemoryError: PermGen space

2010-10-13 Thread Altuğ Bilgin Altıntaş
What is your application server or container ?

Is it a heavy object page ?

Every application can get java.lang.OutOfMemoryError: PermGen space
potentially

First countermeasure you can take is to increase your container's memory.

Altuğ


2010/10/13 fachhoch fachh...@gmail.com


 could not serialize the pagejava.lang.OutOfMemoryError: PermGen space ,

 I got this error, it happens once in a while , its hard to reproduce,
 please tell me   can wicket cause memory errors  for any reason ?
 I am using 1.4.8
 --
 View this message in context:
 http://apache-wicket.1842946.n4.nabble.com/could-not-serialize-the-page-java-lang-OutOfMemoryError-PermGen-space-tp2993745p2993745.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




Re: could not serialize the page java.lang.OutOfMemoryError: PermGen space

2010-10-13 Thread fachhoch

I got this error when running my app on   jetty and tomact  maven plugin.
and  I added 


-Xms512m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=512m 

to JRE VM arguments in  Run configration   eclipse.

but I cannot start my Jetty  it complains

Error occurred during initialization of VM
Could not reserve enough space for object heap

-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/could-not-serialize-the-page-java-lang-OutOfMemoryError-PermGen-space-tp2993745p2993810.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



RE: could not serialize the page java.lang.OutOfMemoryError: PermGen space

2010-10-13 Thread fachhoch

I added   this to   eclipse -XX:PermSize=256m -XX:MaxPermSize=512m

but the problem is   I cannot start my jetty container I get this error  



Error occurred during initialization of VM
Could not reserve enough space for object heap

-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/could-not-serialize-the-page-java-lang-OutOfMemoryError-PermGen-space-tp2993745p2994036.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: could not serialize the page java.lang.OutOfMemoryError: PermGen space

2010-10-13 Thread Altuğ Bilgin Altıntaş
http://javahowto.blogspot.com/2006/06/6-common-errors-in-setting-java-heap.html

2010/10/13 fachhoch fachh...@gmail.com


 I added   this to   eclipse -XX:PermSize=256m -XX:MaxPermSize=512m

 but the problem is   I cannot start my jetty container I get this error



 Error occurred during initialization of VM
 Could not reserve enough space for object heap

 --
 View this message in context:
 http://apache-wicket.1842946.n4.nabble.com/could-not-serialize-the-page-java-lang-OutOfMemoryError-PermGen-space-tp2993745p2994036.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org