When I trying create a CMP bean that have a field with big amount of data
JBoss throw OutOfMemoryError.
My application has a possibility to upload files. When file size less 1Mb uploaded all 
is fine. But when you try upload bigger file then OutOfMemoryError thrown.
I am using JBoss 3.2.3 and Postgres 7.4


  | public abstract class DocBean implements EntityBean {
  |     public java.lang.Integer ejbCreate(Doc doc) throws javax.ejb.CreateException { 
  |         try { 
  |             // ... 
  |             setContent(doc.getContent()); 
  |             // ... 
  |         } catch (Exception e) {
  |             //...
  |         }
  | 
  |         return null;
  |     }
  |     public abstract byte[] getContent();
  |     public abstract void setContent(byte[] value);
  | 
  | }
  | 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829781#3829781

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3829781


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to