Further investigation revealed "memory leaks" with some DSS text arrays. We have created a diagnostic web page where we can view stack usage for the types of variables/arrays we call from our Active4D pages and can see that we have leaks. We also think we've isolated all the places where the leaks might be occurring, but examing our Active4D code shows that we are returning the variables we've used, and don't have any typographical errors in our A4D code?
We've also written some simple test pages where we get a bunch of variables and return them only to find that some variables aren't being released. The developer that is working with me on this has contacted DeepSky about this, but I don't think he's heard anything back.
Please send the test pages to me so I can see what is going on.
Aparajita,
Some more info on this. One of our web apps exhibits these problems more than others. While further reviewing the problem today -- I was looking into different ways to code around it -- I noticed that a menu that is built using arrays based on the culprit DSS calls was always turning up empty. The menu's content varies on user-specified criteria and even though I was choosing choices that should have populated it with different values it was always turning up empty as I worked through the multi-step form.
On rare occasions I've seen similar behavior in 4D client based web apps using Netlink, ITK and (maybe) A4D and found that clearing 4D Clients .res and .rex files usually fixed the problem.
I shut down the client, cleared those files, and restarted the client. The problem did NOT go away.
So I shut down 4D Client, rebooted WebSTAR, and also shutdown and relaunched 4D server.
Here's where it gets interesting. With a freshly started server we're not seeing the DSS leaks except in places where we know we've failed to return a variable. 4D Server had been running for months prior to the restart.
Chances are that the test pages we've sent will work fine when you test them.
-- Brad
_______________________________________________ Active4D-dev mailing list [EMAIL PROTECTED] http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/