You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by stamilo <st...@gmail.com> on 2008/06/25 05:53:19 UTC

Re: help big table displayï¼

thank you,

but it's very slowly, do you have any another ideal ?

there are 100,000 rows record in my table  :)



On Wed, Jun 25, 2008 at 11:23 AM, Rochi Febo Dommarco <ro...@dommarco.it>
wrote:

> Hi,
>
> if you not already done it, and if you have enough memory you can
> increase the maximum heap size.
> You can replace -Xmx512M (files startup.sh or startup.bat) with
> -Xmx1024M for example.
>
> Regards,
> -rochi
>
> On Wed, 2008-06-25 at 10:46 +0800, stamilo wrote:
> > hi,
> >   i have a big table ,about 10,000 rows data ,
> >   i use
> >
> >     <form name="LOGList" type="list" list-name="examples"
> > paginate-target="LOGList">
> >         <actions>
> >             <entity-condition entity-name="TLog"><order-by
> > field-name="fKey"/></entity-condition>
> >         </actions>
> >   that , want do display data , but nothing showed ,
> >   console report  :
> >       [java] 2008-06-25 02:44:17,360 (http-0.0.0.0-8443-2)
> > [StandardWrapperValve.
> > java:274:ERROR] Servlet.service() for servlet ControlServlet threw
> exception
> >      [java] java.lang.OutOfMemoryError: Java heap space
> >
> > how  i can display the big table ?
> >
> >  thx!
>
>

Re: help big table displayï¼

Posted by stamilo <st...@gmail.com>.
thanks!!!



On Wed, Jun 25, 2008 at 11:58 AM, David E Jones <jo...@hotwaxmedia.com>
wrote:

>
> Look at the definition of the entity-condition action's XML element to see
> what your options are.
>
> There are some sub-elements called limit-range, limit-view, and
> use-iterator that will help with this.
>
> To understand this better check out the EntityListIterator class, related
> documentation, and examples of how it is used.
>
> -David
>
>
>
> On Jun 24, 2008, at 9:53 PM, stamilo wrote:
>
>  thank you,
>>
>> but it's very slowly, do you have any another ideal ?
>>
>> there are 100,000 rows record in my table  :)
>>
>>
>>
>> On Wed, Jun 25, 2008 at 11:23 AM, Rochi Febo Dommarco <ro...@dommarco.it>
>> wrote:
>>
>>  Hi,
>>>
>>> if you not already done it, and if you have enough memory you can
>>> increase the maximum heap size.
>>> You can replace -Xmx512M (files startup.sh or startup.bat) with
>>> -Xmx1024M for example.
>>>
>>> Regards,
>>> -rochi
>>>
>>> On Wed, 2008-06-25 at 10:46 +0800, stamilo wrote:
>>>
>>>> hi,
>>>>  i have a big table ,about 10,000 rows data ,
>>>>  i use
>>>>
>>>>   <form name="LOGList" type="list" list-name="examples"
>>>> paginate-target="LOGList">
>>>>       <actions>
>>>>           <entity-condition entity-name="TLog"><order-by
>>>> field-name="fKey"/></entity-condition>
>>>>       </actions>
>>>>  that , want do display data , but nothing showed ,
>>>>  console report  :
>>>>     [java] 2008-06-25 02:44:17,360 (http-0.0.0.0-8443-2)
>>>> [StandardWrapperValve.
>>>> java:274:ERROR] Servlet.service() for servlet ControlServlet threw
>>>>
>>> exception
>>>
>>>>    [java] java.lang.OutOfMemoryError: Java heap space
>>>>
>>>> how  i can display the big table ?
>>>>
>>>> thx!
>>>>
>>>
>>>
>>>
>

Re: help big table displayï¼

Posted by David E Jones <jo...@hotwaxmedia.com>.
Look at the definition of the entity-condition action's XML element to  
see what your options are.

There are some sub-elements called limit-range, limit-view, and use- 
iterator that will help with this.

To understand this better check out the EntityListIterator class,  
related documentation, and examples of how it is used.

-David


On Jun 24, 2008, at 9:53 PM, stamilo wrote:

> thank you,
>
> but it's very slowly, do you have any another ideal ?
>
> there are 100,000 rows record in my table  :)
>
>
>
> On Wed, Jun 25, 2008 at 11:23 AM, Rochi Febo Dommarco <rochi@dommarco.it 
> >
> wrote:
>
>> Hi,
>>
>> if you not already done it, and if you have enough memory you can
>> increase the maximum heap size.
>> You can replace -Xmx512M (files startup.sh or startup.bat) with
>> -Xmx1024M for example.
>>
>> Regards,
>> -rochi
>>
>> On Wed, 2008-06-25 at 10:46 +0800, stamilo wrote:
>>> hi,
>>>  i have a big table ,about 10,000 rows data ,
>>>  i use
>>>
>>>    <form name="LOGList" type="list" list-name="examples"
>>> paginate-target="LOGList">
>>>        <actions>
>>>            <entity-condition entity-name="TLog"><order-by
>>> field-name="fKey"/></entity-condition>
>>>        </actions>
>>>  that , want do display data , but nothing showed ,
>>>  console report  :
>>>      [java] 2008-06-25 02:44:17,360 (http-0.0.0.0-8443-2)
>>> [StandardWrapperValve.
>>> java:274:ERROR] Servlet.service() for servlet ControlServlet threw
>> exception
>>>     [java] java.lang.OutOfMemoryError: Java heap space
>>>
>>> how  i can display the big table ?
>>>
>>> thx!
>>
>>