Skip to Content
avatar image
Former Member

Visual composer freezes

Hello,

Our Visual composer keeps freezing when we work on it.

It can be when simply editing something in the storyboard, compiling or deploying.

There is no pattern I could find for it and I see nothing wrong at the log files, it seems to happen randomly but very often. The only solution is to kill the browser, lose your work and start over.

This doesn't seem to be a browser issue as it happens to multiple clients on different browsers. Any ideas...?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Jun 13, 2007 at 08:40 AM

    The problem may be because of the components size exceeding 64k.

    The solution to this would to componentize your model by embedd your iviews or layers or forms into nested iviews i.e creating nested iviews.

    32Kbyte limitation

    Question: You receive a log message after deploying my application similar to this one:

    Error in compiling Flex application:

    Error: Branch between 8479 and 41869 around line 0 exceeds 32K span.

    If possible, please refactor this component.

    Failed to compile AAD8T3.mxml

    Solution 1

    This is the well known 32K limitation from Adobe Flex 1.x. The compiled applications are not allowed to be larger than 32K. That usually happens with larger models.

    In order to solve this issue, you need to redesign your application and use nested iViews (basically splitting the model into multiple smaller models)

    Solution 2

    Multiple users have reported that one of the following activities also overcomes this problem:

    Under Tools -> Options -> Compiler select and then unselect(!) the checkbox Add Flash debugging console, this error disappears.

    Add one or multiple layers to your model and delete them

    move objects on the storyboard

    Analysis: it looks like Visual Composer sometimes piles up more model tags than necessary and periodically deletes them after an activity like described above. When you are close to the 32K limit, being slightly over or under seems to depend on your activity.

    More solutions

    Optimize each model to reduce the number of elements that it contains:

    Reduce the number of signals by merging signals of the same name.

    When your application updates forms with read-only fields, use expression boxes and a data store instead of signals.

    Minimize the use of animations in your models, including form sliding and chart animation effects

    Use a data store to store variables, instead of invisible forms. To display messages, use a simple text rather than a static dynamic expression.

    For on-the-spot, temporary workarounds, you can try dragging an empty layer onto the Design board. This sometimes solves the problem adhoc, but is not recommended as a best practice.

    Regards

    Navneet

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Such problems have more to do with client comp than servers(always have the best configuration) .

      I had a problem which is similar to yours and was fixed by my companies IT management team by reinstalling and cleaning up IE Add-Ons 😊