Ouch! This is a little confusing to me. I am experiencing this on my
development machine, I'm the only user. Caching is disabled. I have 9
components and 10 pages total in my little app. 4710? Btw, I am generally
developing 1 page at a time, w/out any requests made to any of the other 9
pages.  All of my 10 pages uses each of my components, 1 of which will have
5 instances on the page (i.e. a subsection title bar) - which means 1 page
has ~15 components referenced.



On 1/6/06, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
>
> Running with -D...caching-disabled=true is not practical in production.
>
> That 4710 means that 4710 page and component classes have been
> enhanced.  That's a lot.
>
> If you really have that many pages and components, you need to
> increase the amount of heap in your application.
>
> If you don't, you need to make sure caching is enabled.
>
>
> On 1/5/06, Jason Suplizio <[EMAIL PROTECTED]> wrote:
> > Tap4 rc3, Eclipse 3.1, Tomcat 4.1, Java 1.4.2, Win XP Pro -
> >
> > Here's the stack dump I promised (I doubled clicked, btw):
> >
> > **********************************************************
> >
> >
> > Unable to process client request: Failure enhancing class
> > com.admin.tapestry.reportmap.ReportMapSearch: Unable to create class
> > $ReportMapSearch_4710: java.lang.OutOfMemoryError
> >
> >
> >       Session id    : 0CC9E7C295FDE10333F9F838CE4803C3
> >
> > Exceptions:
> >
> > org.apache.hivemind.ApplicationRuntimeException: Failure enhancing class
> > com.admin.tapestry.reportmap.ReportMapSearch: Unable to create class
> > $ReportMapSearch_4710: java.lang.OutOfMemoryError
> >    component: ClassFab[
> > public class $ReportMapSearch_4710 extends
> > com.admin.tapestry.reportmap.ReportMapSearch
> >   implements org.apache.tapestry.event.PageDetachListener
> >
> > private
> org.apache.tapestry.services.ComponentMessagesSource_$componentMessagesSource
> ;
> >
> > private org.apache.hivemind.Messages _$messages;
> >
> > private org.apache.tapestry.spec.IComponentSpecification_$specification;
> >
> > private java.lang.Object _$row;
> >
> > private java.lang.Object _$row$default;
> >
> > private java.lang.String _$menuName;
> >
> > private java.lang.String _$menuName$defaultValue;
> >
> > private java.lang.String _$IdField;
> >
> > private java.lang.String _$IdField$defaultValue;
> >
> > private org.apache.tapestry.IPage _$result;
> >
> > private org.apache.tapestry.IPage _$result$defaultValue;
> >
> > public $ReportMapSearch_4710(
> > org.apache.tapestry.services.ComponentMessagesSource $1,
> > org.apache.tapestry.spec.IComponentSpecification $2)
> > {
> >   _$componentMessagesSource = $1;
> >   _$specification = $2;
> > }
> >
> >
> > public void pageDetached(org.apache.tapestry.event.PageEvent $1)
> > {
> >   _$row = _$row$default;
> >   _$menuName = _$menuName$defaultValue;
> >   _$IdField = _$IdField$defaultValue;
> >   _$result = _$result$defaultValue;
> > }
> >
> >
> > public void setIdField(java.lang.String $1)
> > _$IdField = $1;
> >
> > public java.lang.String getMenuName()
> > return _$menuName;
> >
> > public java.lang.String getIdField()
> > return _$IdField;
> >
> > public org.apache.hivemind.Messages getMessages()
> > {
> >   if (_$messages == null)
> >     _$messages = _$componentMessagesSource.getMessages(this);
> >   return _$messages;
> > }
> >
> >
> > public org.apache.tapestry.IPage getResult()
> > return _$result;
> >
> > public void setRow(java.lang.Object $1)
> > {
> >   _$row = $1;
> > }
> >
> >
> > public com.admin.tapestry.reportmap.ReportMapEditor getReportMapEditor()
> > return (com.admin.tapestry.reportmap.ReportMapEditor
> > )getPage().getRequestCycle().getPage("Admin/ReportMap/ReportMapEditor");
> >
> > public void setMenuName(java.lang.String $1)
> > _$menuName = $1;
> >
> > public void setResult(org.apache.tapestry.IPage $1)
> > _$result = $1;
> >
> > public org.apache.tapestry.spec.IComponentSpecificationgetSpecification()
> > return _$specification;
> >
> > public java.lang.Object getRow()
> > return _$row;
> >
> > public void finishLoad(org.apache.tapestry.IRequestCycle $1,
> > org.apache.tapestry.engine.IPageLoader $2,
> > org.apache.tapestry.spec.IComponentSpecification $3)
> > {
> >   super.finishLoad($$);
> >   _$row$default = _$row;
> >   _$menuName$defaultValue = _$menuName;
> >   _$IdField$defaultValue = _$IdField;
> >   _$result$defaultValue = _$result;
> >   getPage().addPageDetachListener(this);
> > }
> >
> >
> > ]
> >
> > org.apache.hivemind.ApplicationRuntimeException: Unable to create class
> > $ReportMapSearch_4710: java.lang.OutOfMemoryError
> >
> > java.lang.OutOfMemoryError
> >
> > **********************************************************
> >
> >
>
>
> --
> Howard M. Lewis Ship
> Independent J2EE / Open-Source Java Consultant
> Creator, Jakarta Tapestry
> Creator, Jakarta HiveMind
>
> Professional Tapestry training, mentoring, support
> and project work.  http://howardlewisship.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to