473,320 Members | 1,976 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Janus GridEX Memory Leak

Hi,

I have an asp.net page with a GridEX inside an UpdatePanel. Every 20
seconds, I need to re-submit a query to the database and refresh the
GridEX with the new results; however, each time this operation occurs,
the process for IE in the task manager gains, on average, about 40 k.
If I use Firefox, there's still a leak, but it's smaller and harder to
track (memory used fluctuates more dramatically, so it's impossible to
associate a given refresh with a particular change in memory use). I
left both browsers running the page for a couple minutes and Firefox's
memory usage had increased by less than 1/3rd the increase in IE.

If I remove the GridEX from the page, and all references to it, and
move all the other components (except the ScriptManager) on the page
(some calendar combos, an image button, labels, and hidden fields)
into the UpdatePanel and set an interval for postbacks, the memory
leak disappears, so I'm confident the GridEX is the problem.

Anyone have a solution?

Thanks,
Daniel
Oct 17 '08 #1
1 2284
javascript like any GC language can not release an objects memory until
all references are released. any control hosted in an update panel needs
to be coded to support an update panel. when an update panel replaces
its content, it will call the dispose of all controls in the panel (so
they can release resources) before it replaces them with all new ones
from the postback via innerHTML. most likely the grid is not properly
coded, unless you are attaching javascript to it that is holding references.
using an update panel this way is probably a poor design anyway. i'd
look at a client side solution that called a webservice on timer to get
the new/changed data.

-- bruce (sqlwork.com)
Daniel S wrote:
Hi,

I have an asp.net page with a GridEX inside an UpdatePanel. Every 20
seconds, I need to re-submit a query to the database and refresh the
GridEX with the new results; however, each time this operation occurs,
the process for IE in the task manager gains, on average, about 40 k.
If I use Firefox, there's still a leak, but it's smaller and harder to
track (memory used fluctuates more dramatically, so it's impossible to
associate a given refresh with a particular change in memory use). I
left both browsers running the page for a couple minutes and Firefox's
memory usage had increased by less than 1/3rd the increase in IE.

If I remove the GridEX from the page, and all references to it, and
move all the other components (except the ScriptManager) on the page
(some calendar combos, an image button, labels, and hidden fields)
into the UpdatePanel and set an interval for postbacks, the memory
leak disappears, so I'm confident the GridEX is the problem.

Anyone have a solution?

Thanks,
Daniel
Oct 18 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: ranjeet.gupta | last post by:
Dear All Is the Root Cause of the Memory corruption is the Memory leak, ?? suppose If in the code there is Memory leak, Do this may lead to the Memory Corruption while executing the program ? ...
17
by: José Joye | last post by:
Hi, I have implemented a Service that is responsible for getting messages from a MS MQ located on a remote machine. I'm getting memory leak from time to time (???). In some situation, it is...
0
by: juli | last post by:
If someone ever worked with gridEX (Janus Control) : Could you please tell me how can I make linked row - when I press the row - event being invoked? Thank you in advance!
4
by: Larry David | last post by:
Hi, I was checking out the UI at www.janusys.com and was very impressed. Is this all done with ASP.NET controls or are they embedding a .NET app into the page somehow? If it's done with ASP.NET...
0
by: MeMySelf | last post by:
i have a problem when i want create Hierarchical Data..please help me to solve this problem..i would be thanks fully if you can explain step by step using this tools (Janus Web GridEX)..thnX
1
by: palmah11 | last post by:
Hi, I have a Windows Application in which i am using Janus GRidEx for displying data. In this Janus Grid i have a check box column. i want a functionality if user selects checkbox for particula...
1
by: ajey | last post by:
Hi all I recently downloaded janus gridex for my project... the problem is iam unable to bind data... here is what i do ......
22
by: Peter | last post by:
I am using VS2008. I have a Windows Service application which creates Crystal Reports. This is a multi theaded application which can run several reports at one time. My problem - there is a...
0
by: Sasie7679 | last post by:
Hi, We are using Janus GridEX control(1.6e) for VB6.0. We compile our VB exe in windows 2003 server. With the latest security patch for OLE from microsoft, the exe crashes during compilation. We...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.