The problem is that your app is trying to build a dropdown (<select
multiple>..</select>) with 102589 options.
This causes both the slowness and crashes the browser.



On Jan 31, 8:48 am, Johann Spies <[email protected]> wrote:
> Hallo Massimo,
>
> On 31 January 2011 16:23, Massimo Di Pierro <[email protected]>wrote:
>
> > Never seen it before. What code/condition causes it?
>
> I have experimented and have determined that the following model definition
> is related:
>
>  Field("outeur_id", 'list:reference outeur'), # (see my other thread about
> the speeding up IS_IN_DB)
>
> The full model is in the other thread.  If I remove that line from the model
> the update/insert forms appear immediately when called - otherwise it takes
> about 70 seconds resulting in the error message in the subject line.
>
> The table referenced in this field contains 102589 records.
>
> I suspect list:reference should not be used here - which is a pity.
>
> Regards
> Johann
> --
>  May grace and peace be yours in abundance through the full knowledge of God
> and of Jesus our Lord!  His divine power has given us everything we need for
> life and godliness through the full knowledge of the one who called us by
> his own glory and excellence.
>                                                     2 Pet. 1:2b,3a

Reply via email to