Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Is there a limit of data to send in RPCManager send method?

    I am making a call to RPCManager and in response I am trying to send a list of an object. The list contains around 8000 objects. The object has around 150 attributes (String, Integer,BigDecimal etc).

    SO as soon as I make that call my browser just hangs and crashes. Whats happenning is that at RPCManager.send(data) call it stalls.

    So my question is , is there a limit to the data I can send in rpc response?

    Thanks

    #2
    There's always a limit, but that amount of data is something even IE6 can (barely) handle.

    What specifically do you mean when you say "crashes"? Entire browser exists, JavaScript error occurs, or what? If it's a JavaScript error, please show the error. Also note disabling the "Track RPCs" feature and closing the Developer Console may help if you are right at the edge of the maximum amount of data the browser can handle.

    Comment


      #3
      Ok. I should have asked what is the limit (may be number of rows in an arraylist or like that).

      "Crashes" I meant, browser just stalls, and after some time get a message saying "javascript running is not responding- Stop, continue".
      Only option after that is to kill browser using "Task manager".

      Comment


        #4
        There a bunch of different limits: memory, total time to stream, etc, and they vary by browser.

        What you're seeing now sounds like a problem after the data has already been successfully delivered. Some processing on it is not efficient enough to deal with this number of records. You'll need to isolate what exactly is causing this and let us know if you need further help at that time.

        Comment


          #5
          issue was size of data. Now I don't know how to measure that size. But I reduced the size of object I am sending back. And it solved my issue.

          Can you tell me what is the limit of max number of rows to send in "fetch" call of a ListGrid ?
          Thanks,
          Himanshu Kapil

          Comment


            #6
            Once again - there is no single limit, and no specific limit imposed by SmartClient.

            Comment

            Working...
            X