RE: [flexcoders] DataGrid updateComplete causes lots of memory leak.

2009-02-09 Thread Alex Harui
Hopefully your code is: updateComplete=this.callLater(setVerticalScrollBarMethod); Depending on what that code does, it might use a bunch of memory, but if it gets freed later, it isn't a leak. The profiler will help you determine if there really is a leak. Alex Harui Flex SDK Developer Adobe

RE: [flexcoders] DataGrid updateComplete causes lots of memory leak.

2009-02-09 Thread Manu Dhanda
Yes, am using the same line of code. updateComplete=this.callLater(setVerticalPosition); private function setVerticalPosition():void{ productsGrid.verticalScrollPosition = getVerScrollPos(productsGrid.selectedItems);//which returns an int. } Now when I use profiler to see the memory

RE: [flexcoders] DataGrid updateComplete causes lots of memory leak.

2009-02-09 Thread Alex Harui
Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Manu Dhanda Sent: Monday, February 09, 2009 10:07 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] DataGrid updateComplete causes lots of memory

RE: [flexcoders] DataGrid updateComplete causes lots of memory leak.

2009-02-09 Thread Alex Harui
Of Alex Harui Sent: Monday, February 09, 2009 10:15 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] DataGrid updateComplete causes lots of memory leak. Are you saying that afterwards the memory number does not drop back down even after you force a garbage collection using the profiler

RE: [flexcoders] DataGrid updateComplete causes lots of memory leak.

2009-02-09 Thread Manu Dhanda
/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Alex Harui Sent: Monday, February 09, 2009 10:15 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] DataGrid updateComplete causes lots of memory leak. Are you

RE: [flexcoders] DataGrid updateComplete causes lots of memory leak.

2009-02-09 Thread Alex Harui
...@yahoogroups.com] On Behalf Of Manu Dhanda Sent: Monday, February 09, 2009 11:01 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] DataGrid updateComplete causes lots of memory leak. Selection is fine, as you said, can be done easily. But I do need UI and event framework