Hi Rudriko,

I can confirm the memory issue. I've opened a report for it:

http://bugzilla.qooxdoo.org/show_bug.cgi?id=5129

The CPU load problem is likely due to the browser having to evaluate and 
execute the response of every request as JavaScript since you're using 
the Script transport.

If possible, you should try to reduce the amount of requests. If the 
data on the server doesn't change every second, maybe you can use a 
Comet approach [1] to push changes to the client only when necessary.

Also, there might be ways to reduce the amount of data in each response. 
If only some of the property values change, maybe the server could only 
send the diff.

[1] http://en.wikipedia.org/wiki/Comet_(programming)


Regards,
Daniel

On 05/16/2011 12:42 PM, Rudriko wrote:
> Hi everybody,
>
> First of all i'd like to apologize if i'm missunderstanding things or if my
> question is not correctly explained.
>
> My need is to manage an array of items, having their own properties that are
> frequently refreshed (once/s) by requesting the server for updates using
> qx.ui.remote.Request. (Because i need cross-domain to be allowed)
>
> At the moment I have coded something working, but during my tests it appears
> that i have two major problems:
> 1) The CPU of my browser (particularly IE) is very high (near 99% in some
> cases)
> 2) After a great number of requests, the memory usage of my browser goes
> incredibly huge...
>
> Of course i first tried to inspect my code and decided finaly to turn many
> "commented lines" on...
> But after that it left me only the request itself and the response...
> And when i tried to make a dummy response php, returning like 16Kb data, it
> appears that it is the response of each request that is never freed...
>
> Could somebody help me and perhaps let me get myself abble to find a work
> around or why not a better practice... ?
>
> By the way... I did not found a relation between the Memory and the CPU,
> there's probably not...
>
> kindly, Rudriko
>
> --
> View this message in context: 
> http://qooxdoo.678.n2.nabble.com/High-frequency-autorefresh-tp6368192p6368192.html
> Sent from the qooxdoo mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Achieve unprecedented app performance and reliability
> What every C/C++ and Fortran developer should know.
> Learn how Intel has extended the reach of its next-generation tools
> to help boost performance applications - inlcuding clusters.
> http://p.sf.net/sfu/intel-dev2devmay
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>

------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to