Seems pretty obvious to me: buy or allocate more RAM to your appserver if you really
want to manipulate such large tables in memory.
Else use more advanced collection implementations or DB that won't create all objects in memory at once.


Le 31 mars 04, � 09:44, Sez Sez a �crit :

Why have i this error??? What is the solution? I need
work with this big object but always fails!!!



 --- [EMAIL PROTECTED] escribi�: > What's
your question ?

-----Urspr�ngliche Nachricht-----
Von:    Sez Sez [SMTP:[EMAIL PROTECTED]
Gesendet am:    Mittwoch, 31. M�rz 2004 09:34
An:     [EMAIL PROTECTED]
Betreff:        java.lang.OutOfMemoryError

I have a portlet that it extends
VelocityPortletAction. This, in method
buildNormalContext call a javabean. This javabean
create a big object ( a Arraylist with 30.000
arraylist inside). When i return this object to
buildNormalContext method, this fails and I see
this
errors:


The error in portlet window:


org.apache.turbine.util.TurbineException: Error
rendering Velocity template:
/controls/html/jetspeed.vm: Invocation of method
'getContent' in class


org.apache.jetspeed.portal.security.portlets.CacheableStatefulPortletWr app
er
threw exception class java.lang.OutOfMemoryError :
null




--
Rapha�l Luta - [EMAIL PROTECTED]
Apache Jetspeed - Enterprise Portal in Java
http://jakarta.apache.org/jetspeed/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to